stephenharris / WP-MarkDown

WP-MarkDown plug-in. Allows Markdown to be enabled in posts, comments and bbPress forums.
http://wordpress.org/extend/plugins/wp-markdown/
112 stars 19 forks source link

How does “Prettify syntax highlighter” work? #62

Open netAction opened 9 years ago

netAction commented 9 years ago

I indented with four spaces and got the PRE element. But the highlighting is ugly, maybe the language is not detected properly.

magadanskiuchen commented 8 years ago

Is there any public page this can be previewed on? Alternatively -- can you share a screenshot to check whether the issue is indeed the proper language not being detected?

I believe the latest alpha for WP-MarkDown includes the GitHub flavored version of adding code blocks, which allows for the language to be specified: https://help.github.com/articles/creating-and-highlighting-code-blocks/

So if improperly detected language is indeed the issue on your end, this would be resolved once version 1.6 of the plugin is released.