Skip to content

Commit bd748df

Browse files
authored
docs: fix mathjax plugin install command
1 parent 6d3ffef commit bd748df

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

docs/en/guide/markdown.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -949,7 +949,7 @@ and include it like this:
949949
This is currently opt-in. To enable it, you need to install `markdown-it-mathjax3` and set `markdown.math` to `true` in your config file:
950950

951951
```sh
952-
npm add -D markdown-it-mathjax3^4
952+
npm add -D markdown-it-mathjax3@^4
953953
```
954954

955955
```ts [.vitepress/config.ts]

docs/es/guide/markdown.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,7 @@ Observe que esto no genera errores si el archivo no está presente. Por lo tanto
844844
Esto es actualmente opcional. Para activarlo, necesita instalar `markdown-it-mathjax3` y definir `markdown.math` como `true` en su archivo de configuración:
845845

846846
```sh
847-
npm add -D markdown-it-mathjax3^4
847+
npm add -D markdown-it-mathjax3@^4
848848
```
849849

850850
```ts [.vitepress/config.ts]

docs/fa/guide/markdown.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,7 @@ export default config
833833
در حال حاضر این گزینه اختیاری است. برای فعال‌سازی آن، باید `markdown-it-mathjax3` را نصب کرده و `markdown.math` را در فایل پیکربندی خود به `true` تنظیم کنید:
834834

835835
```sh
836-
npm add -D markdown-it-mathjax3^4
836+
npm add -D markdown-it-mathjax3@^4
837837
```
838838

839839
```ts [.vitepress/config.ts]

docs/ja/guide/markdown.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -953,9 +953,9 @@ VS Code のリージョンの代わりに、ヘッダーアンカーを使って
953953

954954
この機能はオプトインです。利用するには `markdown-it-mathjax3` をインストールし、設定ファイルで `markdown.math``true` に設定します。
955955

956-
```sh
957-
npm add -D markdown-it-mathjax3^4
958-
```
956+
```sh
957+
npm add -D markdown-it-mathjax3@^4
958+
```
959959

960960
```ts [.vitepress/config.ts]
961961
export default {

docs/ko/guide/markdown.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ Can be created using `.foorc.json`.
880880
선택 사항입니다. 활성화하려면 `markdown-it-mathjax3`를 설치하고 설정 파일에서 `markdown.math``true`로 설정해야 합니다:
881881

882882
```sh
883-
npm add -D markdown-it-mathjax3^4
883+
npm add -D markdown-it-mathjax3@^4
884884
```
885885

886886
```ts [.vitepress/config.ts]

docs/pt/guide/markdown.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,7 @@ Observe que isso não gera erros se o arquivo não estiver presente. Portanto, a
843843
Isso é atualmente opcional. Para ativá-lo, você precisa instalar `markdown-it-mathjax3` e definir `markdown.math` como `true` no seu arquivo de configuração:
844844

845845
```sh
846-
npm add -D markdown-it-mathjax3^4
846+
npm add -D markdown-it-mathjax3@^4
847847
```
848848

849849
```ts [.vitepress/config.ts]

docs/ru/guide/markdown.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,7 @@ export default config
951951
В настоящее время эта фича предоставляется по желанию. Чтобы включить её, вам нужно установить `markdown-it-mathjax3` и установить значение `true` для опции `markdown.math` в вашем файле конфигурации:
952952

953953
```sh
954-
npm add -D markdown-it-mathjax3^4
954+
npm add -D markdown-it-mathjax3@^4
955955
```
956956

957957
```ts [.vitepress/config.ts]

docs/zh/guide/markdown.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,7 @@ Can be created using `.foorc.json`.
843843
现在这是可选的。要启用它,需要安装 `markdown-it-mathjax3`,在配置文件中设置`markdown.math``true`
844844

845845
```sh
846-
npm add -D markdown-it-mathjax3^4
846+
npm add -D markdown-it-mathjax3@^4
847847
```
848848

849849
```ts [.vitepress/config.ts]

0 commit comments

Comments
 (0)