SyntaxHighlighter Evolved
[resolved] Display shortcode as code (3 posts)

  1. seanbee
    Posted 3 years ago #

    Hi great plugin thanks, I want to show wp shortcode as code but it is parsing it. So I am having to remove on of the square brackets so that it doesnt parse ie. short-code]

    If I enter [short-code] then it parses it and doesnt display it.

    I am doing a tutorial and need to display the shortcode and not the parsed content.

    Any help much appreciated.


  2. Alex Mills (Viper007Bond)
    Plugin Author

    Posted 3 years ago #

    If you want to prevent a shortcode from rendering, then you need to double up on the brackets.

    Details here: http://www.viper007bond.com/2011/08/13/displaying-shortcodes/

  3. seanbee
    Posted 3 years ago #

    Thank you worked perfectly!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • SyntaxHighlighter Evolved
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic