Scraps supports Markdown syntax according to the CommonMark specification.
Please refer to the documentation of the pulldown-cmark library used internally for more details.
CommonMark specification - pulldown-cmark guide
Example
In:
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
Out: