5

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:

Pip upgrade cannot install packages

2
  • FYI: Grammar for Dockerfile is 763 bytes before compression. Oct 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 Oct 29, 2020 at 0:41

0

You must log in to answer this question.