WordPress.org

Forums

SyntaxHighlighter Evolved
How can I use the plugin on WordPress Comments? (5 posts)

  1. LeoG
    Member
    Posted 1 year ago #

    I was wondering if it is possible to use SyntaxHighlighter Evolved on WordPress Comments. I actually reply some comments with code and would be really nice to have the code styled as it should :)

    Thanks.

    http://wordpress.org/plugins/syntaxhighlighter/

  2. Alex Mills (Viper007Bond)
    Moderator
    Plugin Author

    Posted 1 year ago #

    Have you tried it? It should work fine. There's code in the plugin specifically for making it work with comments.

    If it's not working, then something is wrong.

  3. LeoG
    Member
    Posted 1 year ago #

    I tried <js></js> without success.
    I will debug it then now that I'm certain that it should work.

    Thanks and sorry for the trouble :)

    PS: The plugin rocks!

  4. Alex Mills (Viper007Bond)
    Moderator
    Plugin Author

    Posted 1 year ago #

    Shortcodes use square brackets. Try this:

    [js] some javascript [/js]

  5. LeoG
    Member
    Posted 1 year ago #

    You are right! How can I missed that!
    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic