markdown-viewer icon indicating copy to clipboard operation
markdown-viewer copied to clipboard

Is it possible to hide text between braces?

Open DoctorSubtilis opened this issue 6 years ago • 2 comments
trafficstars

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

DoctorSubtilis avatar Jan 12 '19 13:01 DoctorSubtilis

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.

simov avatar Jan 12 '19 13:01 simov

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

DoctorSubtilis avatar Jan 12 '19 14:01 DoctorSubtilis

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

simov avatar Sep 27 '23 07:09 simov