Press understands standard markdown syntaxes, including: bold, italic, strikethrough, and many more:
fun helloWorld() {
println("""
Code blocks are wrapped inside
three ticks.
""")
}
Headings start with 1-6 #
characters at the start of the line.
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6
Links use a set of square brackets ([]
) for describing the link text, followed by regular parentheses (()
) containing the URL.
Press supports ordered (numbered) and unordered (bulleted) lists. Unordered lists use asterisks, pluses, and hyphens — interchangeably — as list markers:
- National Treasure
- Ghost Rider
- Face/Off
Ordered lists use numbers followed by periods:
- The Last of Us
- Death Stranding
- Cyberpunk 2077
Lines starting with three asterisks (*
), hyphens (-
) or underscores (_
) are rendered as horizontal rules, a.k.a. “thematic breaks”.
A paragraph starting with a
>
are rendered as a quote.