mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-03 08:49:51 +02:00
fix(theme): make warning a first-class admonition, and deprecate caution admonition (#9308)
This commit is contained in:
parent
58be496da2
commit
f5ae537d3e
339 changed files with 666 additions and 515 deletions
|
@ -69,7 +69,7 @@ You write a link like this: [Download this document](/files/note.docx)
|
|||
Docusaurus changes that to: <a href={require('static/files/note.docx')}>Download this document</a>
|
||||
```
|
||||
|
||||
:::caution use Markdown syntax
|
||||
:::warning use Markdown syntax
|
||||
|
||||
Docusaurus will only parse links that are in Markdown syntax. If your asset references are using the JSX tag `<a>` / `<img>`, nothing will be done.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue