|
@@ -60,7 +60,7 @@
|
|
<!-- {JSON.stringify(tokens)} -->
|
|
<!-- {JSON.stringify(tokens)} -->
|
|
{#each tokens as token, tokenIdx (tokenIdx)}
|
|
{#each tokens as token, tokenIdx (tokenIdx)}
|
|
{#if token.type === 'hr'}
|
|
{#if token.type === 'hr'}
|
|
- <hr />
|
|
|
|
|
|
+ <hr class=" border-gray-50 dark:border-gray-850" />
|
|
{:else if token.type === 'heading'}
|
|
{:else if token.type === 'heading'}
|
|
<svelte:element this={headerComponent(token.depth)}>
|
|
<svelte:element this={headerComponent(token.depth)}>
|
|
<MarkdownInlineTokens id={`${id}-${tokenIdx}-h`} tokens={token.tokens} {onSourceClick} />
|
|
<MarkdownInlineTokens id={`${id}-${tokenIdx}-h`} tokens={token.tokens} {onSourceClick} />
|