mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-26 01:36:03 +03:00
[GH-ISSUE #434] [feature] distinguish list from math environment #362
Labels
No labels
bug
enhancement
enhancement
enhancement
fixed in next
fixed in next
fixed in next
new rule
new rule
new rule
pull-request
question
refactoring
refactoring
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/markdownlint#362
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Freed-Wu on GitHub (Sep 30, 2021).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/434
Some markdowns support math environment, e.g.,
However, markdownlint will think the line started with
+, -, *is a list:
Thanks!
@DavidAnson commented on GitHub (Sep 30, 2021):
To add new behavior to the Markdown parser, you can use plugins: https://github.com/DavidAnson/markdownlint#optionsmarkdownitplugins
The VS Code extension includes the
markdown-it-texmathplugin to support math syntax like you show: https://www.npmjs.com/package/markdown-it-texmath@Freed-Wu commented on GitHub (Sep 30, 2021):
Great!