Highlight.js supports syntax highlighting Dockerfiles, but support is not present on Stack Exchange’s version of highlight.js. Please consider adding support for this. Example question on Stack Overflow demonstrating missing feature:
-
FYI: Grammar for Dockerfile is 763 bytes before compression.– Josh GoebelOct 17, 2020 at 20:56
-
If anyone is using Chrome and interested in beta testing/contributing I wrote a Chrome extension that adds support (when hinted) for all the languages Highlight.js includes in the core library (as well as bundling a much more recent version of the library). github.com/joshgoebel/se_highlightjs– Josh GoebelOct 29, 2020 at 0:41
Add a comment
|