<aside> 🚀 The Strapi documentation is based on Docusaurus, and the formatting options are a mix of basic MarkDown or HTML, and custom React components. Below are listed all these content formatting options as well as guidelines and best practices to follow when writing for Strapi CMS Documentation, or Cloud Documentation.
</aside>
MARKDOWN
Titles are the base of a documentation structure, as they shape the content by separating it into coherent sections.
There is only one H1 title, at the very beginning of the documentation file. Other titles can be used several times throughout the file but must keep a logical order (e.g. H3 shouldn’t be used if there is no H2 before).
<aside> 🚀 Best practices
# H1 title (displayed by default in main navigation)
## H2 title (displayed by default in main navigation)
### H3 title (displayed by default in secondary navigation)
#### H4 title (displayed by default in secondary navigation)
##### H5 title (by default not displayed in any navigation — should be avoided)
MARKDOWN
Text highlights are basic formatting that represent and/or highlight items from user interfaces.
code style
: for small code excerpts, file names and paths (Developer Documentation)*italics*
**bold**
`code style`
REACT COMPONENT
Callouts (also called admonitions) highlight information by separating it from the regular, main content.
From lowest to highest level of importance:
Tips: for tips and tricks, useful information but not required to understand how Strapi works
Notes: for helpful, time-saving information
Prerequisites: for necessary conditions allowing to successfully complete a full procedure
Additional information (”Strapi callout”): for Strapi-related facts or links to other Strapi resources. Potentially aiming at promoting the Strapi ecosystem in a more marketing-like way. It should only be used by the Strapi team.
Cautions: for important information such as mistakes prevention, recommendations, unstable or unreliable documentation
Warnings: for highly important information such as data loss, project crash prevention, unsupported documentation
<aside>
⚠️ There must be no space between :::
and the name of the callout.
</aside>
:::tip
[content goes here]
:::
:::note
[content goes here]
:::
:::prerequisites
[content goes here]
:::
:::strapi
[content goes here]
:::
:::caution
[content goes here]
:::
:::warning
[content goes here]
:::
MARKDOWN
Links can redirect users to other parts/sections of https://docs.strapi.io/ (internal links) and to any other resource outside the Strapi documentation (external links).
<aside> 🚀 Best practices
(see [doc name](link))
.~~content-manager.md~~
→ content-manager
).slug
property defined, use its value as ID.~~../features/content-history~~
→ /cms/features/content-history
).
</aside>Each collection type is divided into 2 interfaces: the list view and the edit view (see [Writing content](writing-content)).
Strapi does not support and does not recommend using any external databases, though it's possible to configure one (see [advanced database configuration](/cloud/advanced/database)).
All formatting options are in the [style guide](<https://www.notion.so/strapi/Strapi-docs-style-guide-b9c21387732741ed8b0a3f9701612577>).
MARKDOWN