cpitclaudel / alectryon

A collection of tools for writing technical documents that mix Coq code and prose.
MIT License
227 stars 36 forks source link

Some pygment declarations for MetaCoq commands #49

Open mattam82 opened 3 years ago

mattam82 commented 3 years ago

and Print/Print Assumptions.

cpitclaudel commented 3 years ago

Thanks! All these were auto-generated by parsing the Sphinx refman, so it may be better to add custom ones in a separate definition at the bottom of the list, rather than mixed with the rest (Print and Print Assumptions are good to add, not sure why they're missing!). Also, did you try using https://github.com/cpitclaudel/alectryon#adding-custom-keywords ?

mattam82 commented 3 years ago

Ah I see, its probably better in a separate list indeed. I'm using the coqdoc frontend with no option to declare them there, AFAIK.

gares commented 3 years ago

Since 33df0f226649541e18cacfd286d3bf811858f072 You can move your comments to rst and customize the CMD tokens.