Switch from our custom FencedCodeProcessor
to the standard extension https://pythonhosted.org/Markdown/extensions/fenced_code_blocks.html so that we can support ``` style, and so that blank lines are not needed before and after the ~~~~
blocks. This will get us more closely aligned with the CommonMark standard, and the syntax highlighting of the markdown editor, and the
However, the format for denoting the language inside the block is different there than the CodeHilite extension which we are already using (and our current ~~~~
uses as well since it simply makes an indented block). So we'll have to figure out how to reconcile that.
Closed #882.
ib/7987
TBH, I was surprised it worked with minimal changes. Make sure I did not miss something :)
Excellent! I tested every combination of code blocks and language specifiers I could think of and they all work, I love it! This enables lots of nice formatting features: