Skip to content

Commit 16a1113

Browse files
committed
docs: remove remark-gfm
1 parent 643fa5d commit 16a1113

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

packages/docs/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"rehype-external-links": "3.0.0",
2727
"rehype-slug": "6.0.0",
2828
"remark-flexible-code-titles": "1.2.0",
29-
"remark-gfm": "4.0.1",
3029
"remark-github": "12.0.0",
3130
"remark-parse": "11.0.0",
3231
"rollup-plugin-visualizer": "5.14.0",

packages/docs/src/lib/scripts/addTranslations.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { join, resolve } from "path"
33
import { visit } from "unist-util-visit"
44
import { unified } from "unified"
55
import remarkParse from "remark-parse"
6-
import remarkGfm from "remark-gfm"
76

87
// Configuration
98
const config = {
@@ -253,7 +252,7 @@ export const processMarkdownFile = (fs, filePath) => {
253252

254253
if (!inCodeBlock) {
255254
// Process each line as separate markdown content
256-
const lineAst = unified().use(remarkParse).use(remarkGfm).parse(line)
255+
const lineAst = unified().use(remarkParse).parse(line)
257256

258257
visit(lineAst, "paragraph", (node) => {
259258
// Get text from paragraph children

0 commit comments

Comments
 (0)