rouge-ruby / rouge

A pure Ruby code highlighter that is compatible with Pygments
https://rouge.jneen.net/
Other
3.32k stars 731 forks source link

Coq syntax highlighter with typeclasses #1824

Open artagnon opened 2 years ago

artagnon commented 2 years ago

Name of the lexer Coq

Code sample

(* Now the negative universal property. *)
Definition prod_coind_uncurried `{A : X -> Type} `{B : X -> Type}
  : (forall x, A x) * (forall x, B x) -> (forall x, A x * B x)
  := fun fg x => (fst fg x, snd fg x).

Description Backticks highlighted like errors.