Skip to content

Commit 934572c

Browse files
authored
docs: fix markup for warnings (#946)
1 parent 8fcbe3f commit 934572c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/guide/compat.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ outline: deep
44

55
# Compatibility Build
66

7-
::: warn
7+
::: warning
88
This is a compatibility build for v0.x users. And this package is no longer maintained since v3. Please migrate to the latest version.
99
:::
1010

docs/guide/regex-engines.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ const jsEngine = createJavaScriptRegexEngine({
8787

8888
Instead of compiling regular expressions on-the-fly, we also provide pre-compiled languages for the JavaScript engine to further reduce startup time.
8989

90-
::: warn
90+
::: warning
9191
Pre-compiled languages are not yet supported, due to a [known issue](https://github.com/shikijs/shiki/issues/918) that affects many languages. Please use with caution.
9292
:::
9393

0 commit comments

Comments
 (0)