[X] Have you simplified the bug report to the essential details?
[X] Do you have a distinct command line to report?
[X] Can you clearly state the configuration for this bug report?
[X] Do you have a minimal document that highlights this bug?
[X] Are any required files (configuration or Markdown document) attached to the issue?
[X] Did you perform a cursory search of other issues to look for related issues?
Bug Report
Bug Type
[X] Scan/Rule not working as expected
Description
Upon parsing some of the tests with multiple level drops, the tests report:
# E + C:\Users\jack\AppData\Local\Temp\tmp9hkgc2cp.md:6:3: MD040: Fenced code blocks should have a language specified (fenced-code-language)
This is an issue as both the start and end fenced indicators should be in the same level. This probably means that the parser is terminating after the opening fenced code block for some reason.
Specifics
What operating system and version are you running into this behavior on?
Win11
What version are you seeing this behavior in? (Run pip list or pipenv run pip list and look for the entry beside pymarkdownlnt.)
latest, main
Are there any extra steps that need to be taken before executing the application?
No.
What is the command line you invoke to get this behavior?
Run one of the tests (after re-enabling the tests) listed in the comments.
Are you using a configuration file? Either on the command line or one of the implicit configuration files? If so, attach that file to this issue.
No.
What Markdown document causes this behavior to manifest? Attach that file to this issue.
See comments.
Actual Behavior
The Markdown document is not handling multiple levels of container drops properly.
Expected Behavior
The Markdown document SHOULD handle multiple levels of container drops properly.
Related to: https://github.com/jackdewinter/pymarkdown/issues/1233
Prerequisites
Bug Report
Bug Type
Description
Upon parsing some of the tests with multiple level drops, the tests report:
This is an issue as both the start and end fenced indicators should be in the same level. This probably means that the parser is terminating after the opening fenced code block for some reason.
Specifics
What operating system and version are you running into this behavior on?
Win11
What version are you seeing this behavior in? (Run
pip list
orpipenv run pip list
and look for the entry besidepymarkdownlnt
.)latest, main
Are there any extra steps that need to be taken before executing the application?
No.
What is the command line you invoke to get this behavior?
Run one of the tests (after re-enabling the tests) listed in the comments.
Are you using a configuration file? Either on the command line or one of the implicit configuration files? If so, attach that file to this issue.
No.
What Markdown document causes this behavior to manifest? Attach that file to this issue.
See comments.
Actual Behavior
The Markdown document is not handling multiple levels of container drops properly.
Expected Behavior
The Markdown document SHOULD handle multiple levels of container drops properly.