mirror of
https://github.com/discourse/discourse.git
synced 2025-06-25 01:30:17 +08:00

Continues the work done on https://github.com/discourse/discourse/pull/30815. Extends the ProseMirror-markdown `code-block` node by integrating our existing HighlightJS pipeline for code highlighting and adding a node view with a `<select>` to change the language of the block. We're also adding the markdown paste extension, which handles converting pasted text/plain to rich content if it contains Markdown. --------- Co-authored-by: Martin Brennan <martin@discourse.org>