mirror of
https://github.com/discourse/discourse.git
synced 2025-02-24 04:46:24 +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