CommonMark Rendering Test
Sunday, 1 March 2026This post tests all CommonMark extensions and rendering features.
Inline Formatting
Regular text, bold text, italic text, bold italic.
Strikethrough text
should be rendered with <del> tags.
Inserted text
should be rendered with <ins> tags.
Here is some inline code in a sentence.
Links and Autolinks
A regular link to example and an autolinked URL: https://github.com/OlegKrikun
Email autolink: user@example.com
Headings
Heading 1
Text after heading 1.
Heading 2
Text after heading 2.
Heading 3
Text after heading 3.
Heading 4
Text after heading 4.
Heading 5
Text after heading 5.
Heading 6
Text after heading 6.
Tables
| Feature | Status | Notes |
|---|---|---|
| Strikethrough | Done | ~~text~~ |
| Tables | Done | GFM-style |
| Ins | Done | ++text++ |
| Autolink | Done | Bare URLs |
| Heading Anchor | Done | Auto IDs |
Blockquotes
This is a blockquote. It can span multiple lines.
And can be nested.
Lists
Unordered list:
-
First item
-
Second item with bold
-
Third item with
strikethrough
Ordered list:
-
One
-
Two
-
Three
Code Blocks
fun main() {
println("Hello, CommonMark!")
val items = listOf("strikethrough", "tables", "autolinks")
items.forEach { println("Extension: $it") }
}
Single Image
Horizontal Rules
Mixed Content
Here is a paragraph with
deleted
and
inserted
text, a link, code, bold, and italic all mixed together. Plus an autolink: https://kotlinlang.org
| Mixed | Table |
|---|---|
|
|
new |
| bold | italic |
code |
link |