From f2043715ac6f45d46464df9f3333b0c02fa72bf8 Mon Sep 17 00:00:00 2001 From: wuwenxu Date: Sat, 17 Aug 2024 16:26:06 +0800 Subject: [PATCH] fix: filename and highlight typo in the contribute-add-feature.md --- docs/contribute-add-feature.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/contribute-add-feature.md b/docs/contribute-add-feature.md index 3432060c0..b7603f8e4 100644 --- a/docs/contribute-add-feature.md +++ b/docs/contribute-add-feature.md @@ -492,9 +492,9 @@ Then we must use this transform in the `myst-cli` package, which contains much o 🛠 Import the `wordCountPlugin` in `packages/myst-cli/src/process/mdast.ts` ```{code-block} typescript -:filename: packages/myst-transforms/src/index.ts +:filename: packages/myst-cli/src/process/mdast.ts :linenos: -:emphasize-lines: 23 +:emphasize-lines: 3 import { ..., @@ -507,7 +507,7 @@ Finally, we'll _use_ this plugin as part of the MyST transformations in the same 🛠 Add the `wordCountPlugin` to the unified pipe of transformations ```{code-block} typescript -:filename: packages/myst-transforms/src/index.ts +:filename: packages/myst-cli/src/process/mdast.ts :linenos: :emphasize-lines: 5