jgm / skylighting

A Haskell syntax highlighting library with tokenizers derived from KDE syntax highlighting descriptions
190 stars 61 forks source link

Syntax highlighting for Asymptote #49

Open stla opened 6 years ago

stla commented 6 years ago

Hello,

Thank you for the syntax highlighting for POV-Ray. We would also appreciate the syntax highlighting for Asymptote.

Cheers.

stla commented 3 years ago

Here is an XML file defining the keywords, etc, for Asymptote. Does it help? I would be glad to contribute to skylighting but I don't know how to proceed.

jgm commented 3 years ago

Have you contributed it upstream to KDE? (Instructions are available in our README)

stla commented 3 years ago

Hello,

This XML file is provided in Asymptote distributions (there's an executable which generates it, more precisely).

The instructions in the README explain how to add a XML for command-line usage of skylighting, as far as I understand, but I want to use it from Haskell (this is for my Hakyll blog).

Cheers.