Markdown cheat sheet 

See commonly used Commonmark Markdown Syntax in the TYPO3 Documentation Theme:

Headlines and anchors 

Each document must have a title of level 1. You can use headers of additional levels, only use level 1 once per Markdown document

# Document header

Some text.

## H2 Headline

Lorem Ipsum

### H3 Headline

Lorem Ipsum
Copied!

Code blocks 

Use the standard Markdown syntax for code blocks:

```php
<?php
defined('TYPO3') or die();
```

Lorem Ipsum Dolor: `$dolor`...

``Use `code` in your Markdown file.``
Copied!

Figures and images 

![Alternative Text](/_Images/a4.jpg "Some Caption")
Copied!

Lists, ordered and unordered 

- unordered
- Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
  nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
  sed diam voluptua.
- list

1.  ordered
2.  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
    nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat,
    sed diam voluptua.
10. list
Copied!

Inline text roles 

*italic text*, **bold text**, `$code = 'My Code'`
Copied!

Comments 

Comments can be written like this:

<!-- this is a comment -->
Copied!

Admonitions 

We support the rendering of the following GitHub Markdown style admonitions (Warning, Tip, etc):

> [!NOTE]
> Useful information that users should know, even when skimming content.

> [!TIP]
> Helpful advice for doing things better or more easily.

> [!IMPORTANT]
> Key information users need to know to achieve their goal.

> [!WARNING]
> Urgent info that needs immediate user attention to avoid problems.

> [!CAUTION]
> Advises about risks or negative outcomes of certain actions.
Copied!