pymarkdown
pymarkdown copied to clipboard
MD037: False positive
Prerequisites
- [x] Are you running the latest version of this application?
- [x] Have you checked the Frequently Asked Questions document?
- [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
Please replace any of [these areas]
in the paragraphs below with the requested information.
Bug Type
- [ ] Assertion Failure
- [ ] Documentation
- [x] Scan/Rule not working as expected
- [ ] Fix/Rule not working as expected
- [ ] Other [Other reason]
Description
False-Positive triggered by MD037 when _
are on separate lines.
Possibly related: https://github.com/jackdewinter/pymarkdown/issues/479
Specifics
-
OS: debian:bookworm
-
pymarkdownlnt: 0.9.26
What is the command line you invoke to get this behavior?
pymarkdownlnt scan --alternate-extensions .qmd test.qmd
Following test.qmd
causes the problem:
# abc
{{< include _a.qmd >}}
{{< include _b.qmd >}}
Actual Behavior
Warning is triggered but the syntax is not intended to to emphasis.
Expected Behavior
No warning triggered because _
are on separate lines.