simov / markdown-viewer

Markdown Viewer / Browser Extension
MIT License
1.06k stars 133 forks source link

Is it possible to hide text between braces? #80

Closed DoctorSubtilis closed 11 months ago

DoctorSubtilis commented 5 years ago

I uso pandoc filters to convert md files in odt, and that filters use a proprietary syntax, i.p.

{custom-styles="namestyle"}.  

It's not a bug, but a question: there is a way to hide, in MD viewer that text between braces? Thank you

simov commented 5 years ago

Currently there is no way to hide such text. If it's some sort of a standard, then there could be a plugin for the underlying Markdown parser that I'm using.

DoctorSubtilis commented 5 years ago

Thank you. I don't believe that is a standard, but a proprietary code. You can see here.

simov commented 11 months ago

Markdown Viewer v5.2 got released with a new default compiler called markdown-it and an option called attr that addresses this issue https://github.com/simov/markdown-viewer#compiler-options