revert: markdown rendering

This commit is contained in:
Timothy J. Baek committed 2024-08-06 23:34:51 +02:00
1 parent 42bc24a646
commit 9747f1e841
3 files changed
+93 -68

No files matched your search

@@ -1,16 +1,10 @@
<script lang="ts">
import type { Token } from 'marked';
import { unescapeHtml } from '$lib/utils';
import { onMount } from 'svelte';
import { revertSanitizedResponseContent } from '$lib/utils/index.js';
import Image from '$lib/components/common/Image.svelte';
export let id: string;
export let tokens: Token[];
onMount(() => {
console.log('MarkdownInlineTokens', id, tokens, top);
});
</script>
{#each tokens as token}