leanprover / LeanInk

LeanInk is a command line helper tool for Alectryon which aims to ease the integration of Lean 4.
Apache License 2.0
60 stars 16 forks source link

Colorization difference #22

Open lovettchris opened 2 years ago

lovettchris commented 2 years ago

Description

In our reference manual, triple back ticked lean snippets are colored differently from LeanInk processed snippets:

image

Sometimes I still need a triple back ticked lean snippet because I'm copying something from lean core and I would get weird errors (which results in weird tooltips) if I tried to compile it using leanInk.

Expected behaviour

Would be nice if they were consistently colored.

Reproducing the issue

See my new Applicatives.lean chapter.

Environment information

Suggested fix

Additional Notes