-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
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
The test.md
---
title: abc
---
- [ ] abc
with the .pymarkdown.yml
extensions:
markdown-task-list-items:
enabled: true
triggers
test.md:1:1: MD041: First line in file should be a top level heading (first-line-heading,first-line-h1)
test.md:2:1: MD022: Headings should be surrounded by blank lines. [Expected: 1; Actual: 0; Above] (blanks-around-headings,blanks-around-headers)
BadPluginError encountered while scanning 'test.md':
(5,3): Plugin id 'MD018' had a critical failure during the 'next_token' action.
when running via
pymarkdown --config .pymarkdown.yml scan test.md
Bug Type
- Assertion Failure
- Documentation
- Scan/Rule not working as expected
- Fix/Rule not working as expected
- Other
[Other reason]
Specifics
$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
$ pymarkdown version
0.9.25
Actual Behavior
Use the plugin.
Expected Behavior
No error
BadPluginError encountered while scanning 'test.md':
(5,3): Plugin id 'MD018' had a critical failure during the 'next_token' action.