Skip to content

Commit 655ba54

Browse files
committedDec 16, 2023
Add better support for gfm, directives, math, mdx
1 parent 4057f15 commit 655ba54

File tree

43 files changed

+981
-187
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+981
-187
lines changed
 

‎package.json

+2
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,10 @@
132132
"remark": "^15.0.0",
133133
"remark-cli": "^12.0.0",
134134
"remark-comment-config": "^8.0.0",
135+
"remark-directive": "^3.0.0",
135136
"remark-gfm": "^4.0.0",
136137
"remark-github": "^12.0.0",
138+
"remark-math": "^6.0.0",
137139
"remark-mdx": "^3.0.0",
138140
"remark-toc": "^9.0.0",
139141
"remark-validate-links": "^13.0.0",

‎packages/remark-lint-definition-case/index.js

+10
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,16 @@
5151
* {"name": "not-ok.md", "label": "output"}
5252
*
5353
* 1:1-1:47: Do not use uppercase characters in definition labels
54+
*
55+
* @example
56+
* {"gfm": true, "label": "input", "name": "gfm.md"}
57+
*
58+
* [^X]: Footnote definitions (from GFM) are checked too.
59+
*
60+
* @example
61+
* {"gfm": true, "label": "output", "name": "gfm.md"}
62+
*
63+
* 1:1-1:55: Do not use uppercase characters in definition labels
5464
*/
5565

5666
/**

0 commit comments

Comments
 (0)
Please sign in to comment.