Forums

[Plugin: SyntaxHighlighter Evolved] C# doesn't work as a language alias (5 posts)

  1. DavidPotter
    Member
    Posted 1 year ago #

    Why doesn't C# work as a language alias? I can use csharp and c-sharp, but I can't use C#? Alex Gorbatchev's site seems to indicate I should be able to do that?

    Thanks,
    David

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

  2. Alex Gorbatchev's site lists what aliases his script supports, not what shortcodes and language alises my plugin supports.

    I opted to only support aliases with letters, numbers, and dashes to keep things simple and less prone to breaking (WordPress shortcodes probably shouldn't have #'s in them).

  3. DavidPotter
    Member
    Posted 1 year ago #

    Makes sense.

    Do you have a list of these aliases? It would be helpful if that was part of the documentation.

    Thanks,
    David

  4. Here's a list of the primary alias for each language my plugin supports:

    http://en.support.wordpress.com/code/posting-source-code/

    Note that [language] support was removed for WordPress.com-usage -- you can still use it on your self-hosted blog.

  5. DavidPotter
    Member
    Posted 1 year ago #

    Awesome, thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic