-
Notifications
You must be signed in to change notification settings - Fork 19
Description
Prerequisites
- Are you running the latest version of this application?
- Have you checked the Frequently Asked Questions document?
- Have you simplified the bug report to the essential details?
- Do you have a distinct command line to report?
- Can you clearly state the configuration for this bug report?
- Do you have a minimal document that highlights this bug?
- Are any required files (configuration or Markdown document) attached to the issue?
- 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
- Scan/Rule not working as expected
- Fix/Rule not working as expected
- Other
[Other reason]
Description
As of documentation Pargma Statements, either -->
or --->
is allowed. But in case of the 2nd one, the first dash is taken into plugin name.
Specifics
What operating system and version are you running into this behavior on?
Win11, Python 3.12.5
What version are you seeing this behavior in? (Run pip list
or pipenv run pip list
and look for the entry beside pymarkdownlnt
.)
0.9.31
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?
pymarkdown scan docs\index.md
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.
<!--- pyml disable-next-line first-line-heading --->
-8<- "README.md"
Actual Behavior
docs\index.md:1:1: INLINE: Inline configuration command 'disable-next-line' unable to find a plugin with the id 'first-line-heading -'.
docs\index.md:2:1: MD041: First line in file should be a top level heading (first-line-heading,first-line-h1)
Expected Behavior
No warning or error expected.