Skip to content

IPython magics

transpiling in container blocksยค

blocks and lists make up commonmark's container blocks.

lists are probably one of the most confusing syntactic features of midgy.


lists are strings

* list item 1
* list item 2
"""* list item 1
* list item 2""";

indented code requires and extra indents

* list item 1

        code block
* list item 2

    list paragraph
"""* list item 1"""

code block
"""* list item 2

    list paragraph""";

each level requires and extra code indent

* list item 1

        code block
    * nested list item 1

            code block
    * nested list item 2

        list paragraph
"""* list item 1"""

code block
"""    * nested list item 1"""

    code block
    """    * nested list item 2

        list paragraph""";