Title: [Plugin: WP-Markdown] Shortcode support?
Last modified: August 20, 2016

---

# [Plugin: WP-Markdown] Shortcode support?

 *  [dwhitevisoft](https://wordpress.org/support/users/dwhitevisoft/)
 * (@dwhitevisoft)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-markdown-shortcode-support/)
 * I am trying to use wp-markdown and [SyntaxHighlighter Evolved](http://wordpress.org/extend/plugins/syntaxhighlighter/).
   SyntaxHighligher uses shortcodes (or pre tags with a special class). I’ve tried
   to get the shortcodes to work, however wp-markdown messes with them on the conversion
   causing funky results. This really just boils down to shortcode support. In one
   of the issues you mentioned wanting to support them; is this still on the horizon?
   Perhaps there is a workaround?
 * Thanks,
    -Damien [http://wordpress.org/extend/plugins/wp-markdown/](http://wordpress.org/extend/plugins/wp-markdown/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [dwhitevisoft](https://wordpress.org/support/users/dwhitevisoft/)
 * (@dwhitevisoft)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-markdown-shortcode-support/#post-2959059)
 * I’ve been playing around with syntax highlighting, and I’m thinking I may dump
   SyntaxHighlighter Evolved. I’ve been using it (well [Alex Gorbatchev’s](http://alexgorbatchev.com/SyntaxHighlighter/))
   for years with all of my source code. But your plugin gave me a different idea.
   Since the prettify.js file in your plugin simply uses jQuery to modify pre tags,
   all my old code examples get highlighting. That’s an excellent idea! I like the
   simplicity of the Google Code Prettify, and am thinking of migrating my blog 
   to use it or perhaps another lighter-weight highlighter using your simple approach.
 * By the way, fantastic plugin… I’ve been looking for a Markdown solution for quite
   some time now, and nothing seems to match up to your approach.
 * Thanks,
    Damien
 *  Plugin Author [Stephen Harris](https://wordpress.org/support/users/stephenh1988/)
 * (@stephenh1988)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-markdown-shortcode-support/#post-2959133)
 * Hi Damien,
    Apologies for the delayed response. Shortcodes, in general, should
   work (images, captions etc). However if there is content inside the shortocodes,
   it needs to be on its own line(s) so the Markdown->HTML parser doesn’t get confused.
 * As for syntax highlighters in particular – I’ve not tried any, but I can imagine
   that they could well confuse the plug-in. I’ve found Google Prettify to (usually)
   a very easy and stable solution. It is an excellent idea, but not mine. The inspiration
   for the plug-in is the Stack Exchange sites – and this mainly their solution 
   ported to WordPress (along with some very good HTML <–> MarkdDown parsers – again,
   not by me). Overall, I did very little :).

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: WP-Markdown] Shortcode support?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-markdown_d5ecec.svg)
 * [WP-Markdown](https://wordpress.org/plugins/wp-markdown/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-markdown/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-markdown/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-markdown/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-markdown/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-markdown/reviews/)

## Tags

 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 2 replies
 * 2 participants
 * Last reply from: [Stephen Harris](https://wordpress.org/support/users/stephenh1988/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-markdown-shortcode-support/#post-2959133)
 * Status: not resolved