• List

    Bug related to Admontion and List Interaction (original) (raw)

    Source:

    import markdown

    md = """

    • List

      !!! note "Admontion"

        - Paragraph
      
            Paragraph

    """

    print(markdown.markdown(md, extensions=['admonition']))

    Output:

    • List

      Admontion

      • Paragraph
      Paragraph
      

    Somehow, things get out of sync. Second paragraph under admonition should not be transformed into code.