jgm / skylighting

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

Add TOML. #105

Closed zmwangx closed 4 years ago

zmwangx commented 4 years ago

Imported from https://github.com/KDE/syntax-highlighting/blob/2d8eab6f502e7d817b1840ad12463f4562be3999/data/syntax/toml.xml (with trailing whitespaces stripped).

TOML is pretty widely used these days, for instance in the Python ecosystem (pyproject.toml) and the Rust ecosystem (Cargo.toml). It would be nice to support it in Pandoc out of the box.

jgm commented 4 years ago

sure, good idea

zmwangx commented 4 years ago

Thanks for merging!