KevinBatdorf / code-block-pro

A Gutenberg code block with syntax highlighting powered by VS Code
https://code-block-pro.com
123 stars 9 forks source link

ANTLR support #269

Open ambs opened 8 months ago

ambs commented 8 months ago

Hello

Syntax highlight to ANTLR would be very welcome :-)

KevinBatdorf commented 8 months ago

I have to submit the grammar file upstream to the library I'm using (here) and it's a bit dependent on when they merge it in and make a release. They haven't been very active lately so I may end up needing to maintain a fork, unfortunately.

Is this the grammar for ANTLR? I hadn't heard of it until now https://github.com/mike-lischke/vscode-antlr4

ambs commented 7 months ago

Hello, @KevinBatdorf. Exactly, that's the one. I am writing a tutorial for it (https://null.zbr.pt) and every time I need to share the grammar file I need to use the Plaintext. So, it would be helpful. Of course, I would understand if keeping a fork of the grammar is problematic. It is just a suggestion/wish. Thanks