Skip to content

fix: update admonition title syntax for Docusaurus 3 - #12

Merged
moesoha merged 1 commit into
luogu-dev:masterfrom
pandadtdyy:fix/admonition-title-syntax
Oct 29, 2026
Merged

moesoha merged 1 commit into
luogu-dev:masterfrom
pandadtdyy:fix/admonition-title-syntax

Conversation

@pandadtdyy

@pandadtdyy pandadtdyy commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

升级到 Docusaurus 3 并关闭 markdown.mdx1Compat.admonitions 后,:::danger 注意 等旧版标题语法无法解析为提示框,因此将 4 处带标题的提示框迁移为 :::类型[标题] 语法。

@pandadtdyy pandadtdyy changed the title fix: 修复 Docusaurus 3 提示框标题语法 fix: update admonition title syntax for Docusaurus 3 Oct 29, 2026
@moesoha
moesoha merged commit 80dd81c into luogu-dev:master Oct 29, 2026
1 check passed
@pandadtdyy
pandadtdyy deleted the fix/admonition-title-syntax branch October 29, 2026 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants