joshnuss / svelte-markdoc

Markdoc preprocessor for Svelte
34 stars 4 forks source link

How would this support custom tags? #6

Open alexbjorlig opened 2 years ago

alexbjorlig commented 2 years ago

I found this repl, with support for custom tags.

Would it be possible to support custom tags in the pre-processor?

joshnuss commented 2 years ago

Hi @alexbjorlig

I believe it might support custom tags already, because the preprocessor takes a config parameter which is passed on to Markdoc.

Maybe there should be an example in the readme, since that is a common use case.