mirror of
https://github.com/discourse/discourse.git
synced 2025-03-29 04:15:41 +08:00

Highlight.js 11 deprecated the feature to highlight HTML blocks while keeping the HTML structure, which broke our GitHub onebox syntax highlight. This patch adds it back by bringing the maintainers code as a plugin. See https://github.com/highlightjs/highlight.js/issues/2889