• sebas77

    (@sebas77)


    thank you very much for your plugin!

    Unluckily crayon finally broke with wordpress 5.3 and so I found your plugin. I was very happy with Crayon, but now it’s too late so I decided to use yours.

    It works and surely would be good enough if it cannot be improved. I found two problems:

    it would be great if it could work with the standard code block as well. Going through all my past posts is going to be a nightmare.

    the c# parsing is a bit weak. I would expect that at least everything after a . (that is not a number ofc or other exceptions I am not thinking through) would be highlighted differently.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Andi Dittrich

    (@andi-dittrich)

    Hi @sebas77

    – standard codeblocks cannot be supported due to the limitations of Gutenberg – you have to use Enlighter codeblocks

    – v3 and even v4 includes a compatibility mode which converts legacy codeblocks (pre tags gutenberg or crayon) to Enlighter codeblocks on the fly

    – you can try v4-BETA1 which includes a new highlighting engine (EnlighterJS v3) – this should fix all major syntax issues

    Thread Starter sebas77

    (@sebas77)

    thank you very much, keep up the good work!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘C# parsing a bit weak’ is closed to new replies.