Toolpuffin

    Loading...

    Up and down to choose, Enter to open, Esc to close.

    How to Learn Markdown for Beginners: The Basic Syntax

    Updated December 2026

    Written by the Toolpuffin team. Tools in this guide are tested in the browser.

    Markdown is a way to write formatted text with plain characters, such as # for a heading and * for emphasis. A program turns it into HTML. This guide explains the basic syntax, why Markdown from one tool can look different in another, and where tables fit in. It points to a free course that shows the real HTML result of what you type. The facts come from the CommonMark specification.

    Try the tool: Learn Markdown

    What Markdown is

    A Markdown document is plain text. A converter reads the markers you typed and writes HTML, so a line that starts with # becomes a heading and a word between asterisks becomes emphasised text. The CommonMark project describes a document as a sequence of blocks (such as paragraphs, quotes, lists, headings and code blocks), where some blocks contain inline content: words, links, emphasis, images and code.

    The basic syntax

    • Headings: one to six # signs, then a space and the title. More # signs make a smaller heading.
    • Emphasis: a word between single * or _ is emphasised (HTML em). Between double ** or __ it is strong (HTML strong).
    • Bullet lists: lines that start with -, + or *, followed by a space.
    • Numbered lists: lines that start with a number and a full stop, such as 1.
    • Links: [text](address). Images: the same with a ! in front, ![description](address).
    • Code: a word between backticks is inline code. A block between lines of three backticks, or three tildes, is a fenced code block.
    • Quotes: lines that start with >.

    The specification says fenced code blocks are delimited by either backticks or tildes, and that bullet lists use asterisks, pluses or hyphens as markers.

    Why Markdown differs between tools

    The original Markdown description left some cases open, so tools handled them differently. CommonMark was written as a precise version of Markdown with a specification, to remove those ambiguities. Many tools add extra features on top, for example tables, footnotes or definition lists. That is why a table that works in one tool can show as plain text in another.

    When your Markdown must work in a specific place, such as a website or a README, check which flavour that place supports.

    Practise and see the HTML

    The free course has eight short lessons: headings, bold and italic, bullet lists, numbered lists, links, images, code, and quotes with a table. The course converts what you type with the converter of this site and shows the HTML next to it, so you see the result of every marker. The converter follows the basic rules above, and other tools can differ in the details.

    Sources

    More guides