Skip to main content

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

  1. First ordered list item
  2. Another item
    • Unordered sub-list.
  3. Actual numbers don't matter, just that it's a number
    1. Ordered sub-list
  4. 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

I'm an inline-style link with title

Reference-style link


Images

Inline-style: alt text

Reference-style: alt text


Code and Syntax Highlighting

Inline code has back-ticks around it.

void main() {
print("Hello, Dart!");
}