p:: Docs
npx create-docusaurus@latest my-website classic
npm init docusaurus@latest
Need to install the following packages:
create-docusaurus@latest
Ok to proceed? (y) y
✔ What should we name this site? … my-website
✔ Select a template below... › classic (recommended)
✔ This template is available in TypeScript. Do you want to use the TS variant? … yes
Creating new Docusaurus project...
Installing dependencies with yarn...
yarn install v1.22.10
info No lockfile found.
[1/4] Resolving packages...
...
{
yarn add -D prettier
echo "{ \" singleQuote \" : true, \" jsxSingleQuote \" : true }" > .prettierrc.json
}
In addition to the basic Markdown syntax, we use remark-admonitions alongside MDX to add support for admonitions. Admonitions are wrapped by a set of 3 colons.
:::note Your Title
Some **content** with _markdown_ `syntax` .
:::
note
tip
info
caution
danger