Include 'dockerfile' in highlight.js syntax highlighting for code blocks

Description

For challenges (and other projects), we use code blocks in wiki markdown to provide examples and templates for creating Dockerfiles. The version of highlight.js that Synapse currently uses for syntax highlighting doesn't seem to know what to do with the docker or dockerfile class.

Here's what it looks like currently:

Here's what I'd expect it to look like (from https://highlightjs.org/static/demo/):

Confirmation that syntax highlighting for R seems to work fine:

This might be a separate issue, but formatting for shell also doesn't really look like I would expect:

And plaintext doesn't seem to work (should disable syntax highlighting):

Environment

None

Status

Assignee

Jay Hodgson

Reporter

James Eddy

Labels

None

Validator

Xavier Schildwachter

Development Area

None

Release Version History

None

Components

Sprint

Fix versions

Priority

Minor
Configure