Listing Issue (Number lists)
Closed this issue · 1 comments
Skrillx13 commented
Context
I was using MKDocs, and making a number list. Unsure if this is a Markdown issue or Material MKDocs issue though, but it seems to be on the MKDocs side.
Bug description
When making said number list, I inserted a code block in between the list, so it looks something like this:
- Step 1
- Step 2
Code Block I inserted
- Step 3
However, instead of rendering like the step above, it rendered like this:
- Step 1
- Step 2
Code Block I inserted
- Step 3
As you can see, the order breaks, and it defaults back to 1 when a code block is inserted through it.
Related links
Reproduction
Steps to reproduce
- I created a GitHub Repo and cloned it using a SSH Key
- Set up a Python Virtual Enviroment
python -m venv venv
source venv/bin/activate
- Installed Material for MKDocs, and opened it up in VSC
pip install mkdocs-material
code .
- Ran
mkdocs new .
, andmkdocs serve
, before adding all my configurations. - Created a number list as mentioned in the steps above.
Browser
No response
Before submitting
- I have read and followed the bug reporting guidelines.
- I have attached links to the documentation, and possibly related issues and discussions.
- I assure that I have removed all customizations before submitting this bug report.
- I have attached a .zip file with a minimal reproduction using the built-in info plugin.
squidfunk commented
Thanks for reporting. This behavior stems from Python Markdown, not from Material for MkDocs. Please take this upstream.