Skip to main content
Version: 2.0.0-beta.11 ๐Ÿšง

Markdown Features

Documentation is one of your product's interfaces with your users. A well-written and well-organized set of docs helps your users understand your product quickly. Our aligned goal here is to help your users find and understand the information they need, as quickly as possible.

Docusaurus 2 uses modern tooling to help you compose your interactive documentations with ease. You may embed React components, or build live coding blocks where your users may play with the code on the spot. Start sharing your eureka moments with the code your audience cannot walk away from. It is perhaps the most effective way of attracting potential users.

In this section, we'd like to introduce you to the tools we've picked that we believe will help you build a powerful documentation. Let us walk you through with an example.

important

This section assumes you are using the official Docusaurus content plugins.

Standard features

Markdown is a syntax that enables you to write formatted content in a readable syntax.

The standard Markdown syntax is supported, and we use MDX as the parsing engine, which can do much more than just parsing Markdown, like rendering React components inside your documents.

### My Doc Section

Hello world message with some **bold** text, some _italic_ text and a [link](/)

![img alt](/img/docusaurus.png)

My Doc Section

Hello world message with some bold text, some italic text and a link

img alt

Quotes

Markdown quotes are beautifully styled:

> This is a quote

This is a quote

Details

Markdown can embed HTML elements, and details HTML elements are beautifully styled:

### Details element example

<details>
<summary>Toggle me!</summary>
<div>
<div>This is the detailed content</div>
<br/>
<details>
<summary>
Nested toggle! Some surprise inside...
</summary>
<div>
๐Ÿ˜ฒ๐Ÿ˜ฒ๐Ÿ˜ฒ๐Ÿ˜ฒ๐Ÿ˜ฒ
</div>
</details>
</div>
</details>

Details element example

Toggle me!
This is the detailed content

Nested toggle! Some surprise inside...
๐Ÿ˜ฒ๐Ÿ˜ฒ๐Ÿ˜ฒ๐Ÿ˜ฒ๐Ÿ˜ฒ

note

In practice, those are not really HTML elements, but React JSX elements, which we'll cover next!