How to show raw critic text? #1927
-
In my document, I need to show both original critic markup and its rendered output to explain to readers that how to use critic function. Please someone tell me how to do this? in official document, it says:
have no idea what md-render and critic-markup do here. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Custom plugin: https://github.com/facelessuser/pymdown-extensions/blob/main/tools/pymdownx_md_render.py Feel free to use it at your own risk. |
Beta Was this translation helpful? Give feedback.
-
thank @facelessuser |
Beta Was this translation helpful? Give feedback.
crtic-markup
is a custom Pygments lexer that I created for my documents: https://github.com/facelessuser/pymdown-lexers. It's not really documented as I had intended to only use it for myself. There are no actual releases for it as I just include it in my requirements like this https://github.com/facelessuser/pymdown-extensions/blob/main/requirements/docs.txt#L2.md-render
is also a custom plugin I use for my documents. It is also not documented as it was just a solution for my docs. I wanted to not apply Critic Markup to my documents, but instead, only activate the usage of it in sandboxes. So I created custom fenced code blocks where I can enable certain markdown plugins only in those c…