WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. LeoG
    Member
    Posted 7 months 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 7 months 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 7 months 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 7 months ago #

    Shortcodes use square brackets. Try this:

    [js] some javascript [/js]

  5. LeoG
    Member
    Posted 7 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic