void main() String markdownText = '''
h1 Heading 8-)
h2 Heading
h3 Heading
h4 Heading
h5 Heading
h6 Heading
Alternatively, for H1 and H2, an underline-ish style:
Alt-H1
Alt-H2
Emphasis
Emphasis, aka italics, with asterisks or underscores.
Strong emphasis, aka bold, with asterisks or underscores.
Combined emphasis with asterisks and underscores.
Strikethrough uses two tildes. Scratch this.
Lists
- First ordered list item
- Another item
- Unordered sub-list.
- Actual numbers don't matter, just that it's a number
- Ordered sub-list
- And another item.
- Unordered list with asterisks
- Or minuses
- Or pluses
Task lists
- Finish my changes
- Push my commits to GitHub
- Open a pull request
Links
I'm an inline-style link with title
Images
Inline-style:
![]()
Reference-style:
![]()
Code and Syntax Highlighting
Inline code has back-ticks around it.
void main() {
print("Hello, Dart!");
}