-
-
Notifications
You must be signed in to change notification settings - Fork 438
Closed
Description
Caddy supports markdown rendering via Blackfriday, which uses Chroma for syntax highlighting.
I think it would be awesome if Chroma would support a caddyfile
lexer so that we can syntax highlight all the examples in the Caddy documentation! It would also mean that the Caddy could syntax highlight its own configuration!
See here for information on the syntax. It's quite simple.
Caddy v1 and Caddy v2 have slightly different syntax, but @mohammed90 found this VS Code syntax for v1 which could be useful as a base reference?
Thanks!
mholt, heliostatic and mohammed90