File tree Expand file tree Collapse file tree 2 files changed +11
-15
lines changed Expand file tree Collapse file tree 2 files changed +11
-15
lines changed Original file line number Diff line number Diff line change 101
101
});
102
102
</script >
103
103
104
- <div
105
- class =" prose max-w-none dark:prose-invert max-sm:prose-sm prose-headings:font-semibold prose-h1:text-lg prose-h2:text-base prose-h3:text-base prose-pre:bg-gray-800 dark:prose-pre:bg-gray-900"
106
- >
107
- {#each marked .lexer (content ) as token }
108
- {#if token .type === " code" }
109
- <CodeBlock lang ={token .lang } code ={token .text } />
110
- {:else }
111
- {#await marked .parse (token .raw ) then parsed }
112
- <!-- eslint-disable-next-line svelte/no-at-html-tags -->
113
- {@html parsed }
114
- {/await }
115
- {/if }
116
- {/each }
117
- </div >
104
+ {#each marked .lexer (content ) as token }
105
+ {#if token .type === " code" }
106
+ <CodeBlock lang ={token .lang } code ={token .text } />
107
+ {:else }
108
+ {#await marked .parse (token .raw ) then parsed }
109
+ <!-- eslint-disable-next-line svelte/no-at-html-tags -->
110
+ {@html parsed }
111
+ {/await }
112
+ {/if }
113
+ {/each }
118
114
119
115
<style lang =" postcss" >
120
116
:global (.katex-display) {
Original file line number Diff line number Diff line change 52
52
</summary >
53
53
54
54
<div
55
- class =" border-t border-gray-200 px-5 pb-2 pt-2 text-sm text-gray-600 dark:border-gray-800 dark:text-gray-400"
55
+ class =" border-t border-gray-200 px-5 pb-2 pt-2 text-sm text-gray-600 dark:border-gray-800 dark:text-gray-400 space-y-4 "
56
56
>
57
57
<MarkdownRenderer {content } />
58
58
</div >
You can’t perform that action at this time.
0 commit comments