Skip to content

Question: Is there a way to remove markdown syntax ? #632

Answered by colinodell
Bacteries asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by colinodell
Comment options

You must be logged in to vote
3 replies
@jmas
Comment options

@Bacteries
Comment options

@jmas
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question General questions about the project or usage
3 participants
Converted from issue

This discussion was converted from issue #610 on June 12, 2021 13:51.