Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 13 additions & 17 deletions text.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,29 +14,27 @@ Best used for section headers.

### Subtitles

Best use to subsection headers.
Best used for subsection headers.

```md
### Subtitles
```

<Tip>

Each **title** and **subtitle** creates an anchor and also shows up on the table of contents on the right.

Each **title** and **subtitle** creates an anchor and also shows up on the table of contents on the right.
</Tip>

## Text Formatting

We support most markdown formatting. Simply add `**`, `_`, or `~` around text to format it.

| Style | How to write it | Result |
| ------------- | ----------------- | --------------- |
| Bold | `**bold**` | **bold** |
| Italic | `_italic_` | _italic_ |
| Strikethrough | `~strikethrough~` | ~strikethrough~ |
| Style | How to write it | Result |
| ------------- | ----------------- | ----------------- |
| Bold | `**bold**` | **bold** |
| Italic | `_italic_` | *italic* |
| Strikethrough | `~strikethrough~` | ~~strikethrough~~ |

You can combine these. For example, write `**_bold and italic_**` to get **_bold and italic_** text.
You can combine these. For example, write `**_bold and italic_**` to get ***bold and italic*** text.

You need to use HTML to write superscript and subscript text. That is, add `<sup>` or `<sub>` around your text.

Expand Down Expand Up @@ -69,9 +67,7 @@ To create a blockquote, add a `>` in front of a paragraph.

### Multiline

> Dorothy followed her through many of the beautiful rooms in her castle.
>
> The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.
> Dorothy followed her through many of the beautiful rooms in her castle.The Witch bade her clean the pots and kettles and sweep the floor and keep the fire fed with wood.

```md
> Dorothy followed her through many of the beautiful rooms in her castle.
Expand All @@ -81,11 +77,11 @@ To create a blockquote, add a `>` in front of a paragraph.

### LaTeX

Mintlify supports in-line [LaTeX](https://www.latex-project.org) by surrounding your LaTeX code with dollar signs (\$). For example, `$(a^2 + b^2 = c^2)$` will render as $(a^2 + b^2 = c^2)$.
Mintlify supports in-line [LaTeX](https://www.latex-project.org) by surrounding your LaTeX code with dollar signs ($). For example, `$(a^2 + b^2 = c^2)$` will render as $(a^2 + b^2 = c^2)$.

Equations on their own line can be created with double dollar signs (\$\$):
Equations on their own line can be created with double dollar signs ($$):

$$\exists \, x \notin [0,1]$$
$$\exists , x \notin \[0,1]$$

```md
$$\exists \, x \notin [0,1]$$
Expand All @@ -103,4 +99,4 @@ Markdown syntax also recognizes a double enter in your MDX as a linebreak.
Paragraph 1

Paragraph 2
```
```