Question: Is there a way to remove markdown syntax ? #632
|
Hi, I know something like this could works, but I was searching for the proper way (extension maybe ?) to do this, and if one already exists. Thanks. |
Replies: 2 comments 3 replies
|
You could implement custom block renderers and inline renderers. Although they are intended to output HTML there's nothing stopping you from returning any text strings that you want :) You could then group those renderers into an extension or add them manually to the |
|
Hi @colinodell : I make my own renderers and it works fine ! Thanks. |
You could implement custom block renderers and inline renderers. Although they are intended to output HTML there's nothing stopping you from returning any text strings that you want :)
You could then group those renderers into an extension or add them manually to the
Environment- both will accomplish the same thing. Just make sure you set a higher priority so that your renderers are used instead of the core ones.