Python highlighter not available on WSC 5.2.2

  • Hello,


    I use WSC on my website which is linked in signature, and have found out recently after upgrading from version 4 to 5, Python syntax highlighter is removed in this version.

    You may see my last post and older ones:


    https://pythonlearner.ir/article/20

    https://pythonlearner.ir/article/19

    https://pythonlearner.ir/article/18


    https://up.rashn.net/SiaeS30

    Please check the above link.

    I see that article ID 19 was written with Python syntax, but I cannot do that for new articles, or even when I want to edit the last ones, I do not see this option. PHP, Perl, etc syntax are available fine.

    I have localized WSC for my self and nothing is changed since the last upgrade.


    Could you please help me if it is possible to gain it again?


    In fact the only reason I chose WSC was for its Python built-in syntax highlighter. I used WP, JM, DP and many others but the most suitable one for me is the current one.


    Thanks in advance

  • Hello,


    The new highlighter supports a huge amount of different languages, including Python. Please adjust the option Selectable Syntax Highlighters in your admin panel to include the highlighters that you want.

    Alexander Ebert
    Senior Developer WoltLab® GmbH

  • The previous versions used (somewhat) legacy highlighters that were custom built, while we now use JavaScript based highlighter library that supports this huge amount of languages. At this point we have also changed the default set of highlighters.

    Alexander Ebert
    Senior Developer WoltLab® GmbH