-
Hello, I believe what I am trying to do is similar to #2888, #2817, #2543, #2532 ? My progress so far:
Stackblitz: (maybe a stackblitz issue or hmr but sometimes manual refresh is needed for changes to apply) End goal: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
There are two types of extension:
The Tokenizer in marked options is for the extensions that change existing tokenizers. To add new tokenizers you will need to use It doesn't look like SvelteMarkdown allows the type of extension that adds new tokenizers/renderers. I would suggest adding a feature request for SvelteMarkdown to be able to send extensions to |
Beta Was this translation helpful? Give feedback.
There are two types of extension:
The Tokenizer in marked options is for the extensions that change existing tokenizers. To add new tokenizers you will need to use
marked.use
to add an extension.It doesn't look like SvelteMarkdown allows the type of extension that adds new tokenizers/renderers.
I would suggest adding a feature request for SvelteMarkdown to be able to send extensions to
marked.use
.