pymarkdown
pymarkdown copied to clipboard
Bug: false positive of warning ul-start-left in nested lists
Problem:
With the attached markdown file and pymarkdown config, the following warnings are issued:
$ pymarkdown --config pymarkdown.json.txt scan pymarkdown_md006_false_positive_example.md
pymarkdown_md006_false_positive_example.md:21:3: MD006: Consider starting bulleted lists at the beginning of the line (ul-start-left)
pymarkdown_md006_false_positive_example.md:22:3: MD006: Consider starting bulleted lists at the beginning of the line (ul-start-left)
pymarkdown_md006_false_positive_example.md:23:3: MD006: Consider starting bulleted lists at the beginning of the line (ul-start-left)
pymarkdown_md006_false_positive_example.md
Tested with: pymarkdownlnt==0.9.7
and the current main branch commit.
Expected result:
No warnings are issued, as the indentation of the outer unordered list item is inherited from the previous paragraph.