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

Code not prettified on main page #39

Closed MarcinGil closed 10 years ago

MarcinGil commented 10 years ago

Hi!

I'm using latest Wordpress (3.8.1) with WP-Markdown (1.4).

When I edit a post and create a code block (by indenting it 4 spaces) the code is prettified on the preview but not on main or post page.

See: http://blog.marcingil.com/2011/11/creating-build-numbers-using-git-commits/

The script code is prettified when writing.

stephenharris commented 10 years ago

The prettify script is loading... but there's a javascript error on the page. Perhaps that could be preventing it from working?

MarcinGil commented 10 years ago

Damn Flickr plugin. I haven't even thought about looking for JS errors. Lesson learned.