Files
zulip/templates/zerver/tests/markdown/test_nested_code_blocks.md
Eeshan Garg 3eaf00444a markdown: Render nested multi-line code blocks correctly.
This commit adds a Markdown tree-processor extension that renders
multi-line code blocks that are nested inside lists with the
formatting. Note that the code block could be nested inside multiple
list levels and would still get rendered correctly.

Tim: This fixes the need for unpleasant workarounds like
f5bfa4e793 and makes nested code blocks
in our documentation look exactly how users would expect them to.
2018-07-12 12:22:04 +05:30

184 B

This is a heading.

  1. A list item with an indented code block:

    indented code block
    with multiple lines
    
non-indented code block
with multiple lines