urvanov-ru / crayon-syntax-highlighter

Syntax Highlighter supporting multiple languages, themes, fonts, highlighting from a URL, local file or post text.
https://wordpress.org/plugins/urvanov-syntax-highlighter/
GNU General Public License v3.0
60 stars 11 forks source link

Disable Highlighting on Specific Posts when Using Markdown #28

Open Robin-Andrews opened 3 years ago

Robin-Andrews commented 3 years ago

I have limited control of my markup as I use markdown syntax. Is it possible to disable highlighting for specific posts please, and if so how?

urvanov-ru commented 3 years ago

@Robin-Andrews I spent some time in investigation, but I don't know how to do this without additional control. You can disable specific pre tags from highlighting by crayon="false" attribute or crayon:false class. I don't know how you use markdown, but It can be impossible to turn off highlighting in specific posts, as I think.