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

Highlighting with Markdown, sometimes getting double-encoded entities #27

Open mjgardner opened 3 years ago

mjgardner commented 3 years ago

I've only just started blogging with Crayon, so I don't have a lot of posts to go on. But this one and this one both have double-encoded HTML entities all over the place in the code snippets, with "s and >s galore. When I deactivate the plugin, everything looks fine, though without the syntax highlighting. What am I doing wrong?

I'm disabling the plugin until I get to the bottom of this.

urvanov-ru commented 3 years ago

@mjgardner Sorry, but in your posts is not correct Urvanov Syntas Highlighter blocks. It is just standard code blocks.

With Crayon / Urvanov Syntax Highlighter you should use special block named Urvanov Syntax Highlighter for block code and special markup button with the same name in paragraph block.

Watch the video in this page: https://wordpress.org/plugins/urvanov-syntax-highlighter/ as an example