Skip to content

Commit

Permalink
removed useless console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
ildella committed Sep 4, 2024
1 parent 72e3750 commit 7b1d697
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/SvelteMarkdown.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,16 @@
tokens = source
} else {
const lexer = new marked.Lexer(combinedOptions)
tokens = isInline ? lexer.inlineTokens(source) : lexer.lex(source)
const sample = tokens[21]
console.log({source}, sample)
dispatch('parsed', { tokens })
}
$: combinedRenderers = { ...defaultRenderers, ...renderers }
$: mounted && !preprocessed && dispatch('parsed', { tokens })
setContext(key, {
slug: (val) => slugger ? slugger.slug(val) : '',
getOptions: () => combinedOptions
})
$: mounted && !preprocessed && dispatch('parsed', { tokens })
onMount(() => {
mounted = true
Expand Down

0 comments on commit 7b1d697

Please sign in to comment.