Skip to content
FeaturesPricingBlogDownload
Home / Markdown syntax

Markdown syntax

Markdown is a plain text format: a few symbols such as #, * and | mark headings, emphasis and tables, and any Markdown editor or converter turns them into formatted text. The rules below follow CommonMark and GitHub Flavored Markdown (GFM), the two specifications most apps follow, so an example that works here works in GitHub, VS Code, Obsidian and Noteline.

  • 01

    Markdown headings

    One to six # signs and a space make H1 to H6

    →
  • 02

    Bold, italic and strikethrough

    Asterisks for bold and italic, two tildes for strikethrough

    →
  • 03

    Markdown lists

    Bullets, numbered lists, nesting and start numbers

    →
  • 04

    Markdown task lists

    [ ] and [x] after a list marker make checkboxes

    →
  • 05

    Markdown links

    Inline links, reference links, autolinks and heading links

    →
  • 06

    Markdown images

    Alt text, relative paths, titles and sizing with HTML

    →
  • 07

    Markdown tables

    Pipes, a separator row, and colons for alignment

    →
  • 08

    Markdown code blocks

    Fenced blocks, language tags, inline code and indented code

    →
  • 09

    Markdown blockquotes

    Lines starting with > for quotes, nested quotes and callouts

    →
  • 10

    Markdown line breaks

    Backslash, two trailing spaces, blank lines and <br>

    →
  • 11

    Markdown escape characters

    A backslash shows any punctuation mark as plain text

    →
  • 12

    Mermaid diagrams

    Flowcharts and sequence diagrams from a mermaid code block

    →
  • 13

    The .md file

    A plain text file in Markdown that any text editor can open

    →
  • 14

    Markdown footnotes

    A [^label] reference and a matching definition line

    →
  • 15

    Markdown horizontal rules

    Three dashes, asterisks or underscores on a line by themselves

    →
  • 16

    Heading anchors and custom IDs

    Generated anchors, {#id} attributes and HTML anchors

    →
  • 17

    Markdown front matter

    A YAML block between --- lines at the top of the file

    →
  • 18

    HTML in Markdown

    Raw HTML tags, block rules and renderer sanitizing

    →
  • 19

    Collapsible sections in Markdown

    The details and summary tags, with blank lines inside

    →
  • 20

    Underline in Markdown

    No Markdown syntax, so HTML or a Pandoc span

    →
  • 21

    Colored text in Markdown

    No color syntax, so HTML, math or a callout instead

    →
  • 22

    Comments in Markdown

    HTML comments, the [//]: # trick and Obsidian %%

    →
  • 23

    Math in Markdown

    LaTeX between single or double dollar signs

    →

Noteline

Download Noteline↓See pricing→

A Markdown note editor with everything you need

We’re listening

Tell us what you need or what gets in your way. If something isn’t working, write to us any time.

contact@noteline.io→

Product

  • Download
  • Pricing
  • Features
  • Changelog

Learn

  • Markdown syntax
  • Use cases
  • Blog

Compare

  • vs Obsidian
  • vs Notion

Support

  • Help
  • Support
  • Privacy
  • Terms

© 2026 Notelinecontact@noteline.io