This is a normal paragraph with
bold text
,
italic text
,
inline code
, a
link
, and an
.
Another paragraph with mixed inline formatting.
This paragraph contains:
code
This is a quote block. It spans multiple lines. It also contains bold text, italic text, andinline code.
def greet(name: str) -> None:
print(f"Hello, {name}")
Unordered list example:
code
Ordered list example:
code
This is a paragraph before a quote.
Quote line 1 Quote line 2 Quote line 3 quote continue
This is a paragraph after a quote.
First paragraph.
Second paragraph.
Third paragraph with
bold
,
italic
, and
code
.
`inline code inside fenced code`
*bold inside fenced code*
_italic inside fenced code_
[link](https://example.com)

This should remain plain text:
`unclosed code
*unclosed bold
_unclosed italic
bold
italic
code
link
This parser does not support nesting, but these are useful tests:
*bold inside *
_italic inside _
code *inside* _inside_
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Bold text
appears here, followed by
italic text
, then
inline code
, and finally a
link
. Another sentence continues the paragraph to test paragraph rendering over
larger bodies of text. Here is another
included inline.
Final paragraph with
bold
,
italic
,
code
,
link
, and
.