dhall-haskell icon indicating copy to clipboard operation
dhall-haskell copied to clipboard

dhall-docs: Syntax highlighting for examples and source

Open darichey opened this issue 3 years ago • 2 comments

I think this would be a nice addition to the docs tool, but I wanted to open this issue and get some feedback before working on it more.

My initial experiments with prismjs yielded fairly promising results: image

Would this be a welcome change?

darichey avatar Jan 02 '22 23:01 darichey

Yeah, definitely! We originally had syntax highlighting at one point but if I remember correctly we had to remove it in the course of adding some other feature. Restoring syntax highlighting would be perfect!

Gabriella439 avatar Jan 03 '22 03:01 Gabriella439

if I remember correctly we had to remove it in the course of adding some other feature

It was removed here: #1959.

kukimik avatar Nov 21 '23 22:11 kukimik