A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/Python-Markdown/markdown/issues/1004 below:

Bug related to Admontion and List Interaction · Issue #1004 · Python-Markdown/markdown · GitHub

Source:

import markdown

md = """
- List

    !!! note "Admontion"

        - Paragraph

            Paragraph
"""

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

Output:

<ul>
<li>
<p>List</p>
<div class="admonition note">
<p class="admonition-title">Admontion</p>
<ul>
<li>Paragraph</li>
</ul>
<pre><code>Paragraph
</code></pre>
</div>
</li>
</ul>

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4