Abhay Talreja
About MeProjectsCoursesExperienceToolsResourcesBlog

© 2025 Abhay Talreja. All rights reserved.

Terms of ServicePrivacy PolicyLegal NoticeCookie PolicyXML Sitemap
    Back to all articles
    Reference

    Markdown Cheat Sheet - Easy Markdown Syntax Reference

    A quick reference for Markdown syntax. Learn headings, lists, code blocks, links, images, blockquotes, and more with this easy Markdown cheat sheet.

    January 20, 2020
    4 min read
    Markdown
    Cheat Sheet
    Syntax
    Reference
    Productivity
    Writing
    Documentation
    Blogging
    Formatting
    Guide
    Markdown Cheat Sheet - Easy Markdown Syntax Reference

    Markdown Cheat Sheet - Easy Markdown Syntax Reference

    Author: Abhay Talreja
    Published on: January 20, 2020

    This Markdown cheat sheet is intended to be a quick reference and showcase some of the features of Markdown. For more complete info, see John Gruber's original spec and the Github-flavored Markdown info page.


    Headings in Markdown

    # Heading 1 ## Heading 2 ### Heading 3 #### Heading 4 ##### Heading 5 ###### Heading 6

    Heading 1

    Heading 2

    Heading 3

    Heading 4

    Heading 5
    Heading 6

    Alternate approach:

    # This is Heading 1 (Alternate) ## This is Heading 2 (Alternate)

    This is Heading 1 (Alternate)

    This is Heading 2 (Alternate)


    Paragraphs and Line Breaks

    This is paragraph 1 This is paragraph 2

    This is paragraph 1

    This is paragraph 2


    Horizontal Rule

    --- --- ---




    Emphasis

    Bold:

    This text is **Bold** This text is **Bold too**

    This text is Bold This text is Bold too

    Italic:

    This text is _Italic_ This text is _Italic too_

    This text is Italic This text is Italic too

    Bold & Italic:

    This text is **_Bold and Italic_** This text is **_Bold and Italic_** This text is **_Bold and Italic_** This text is _**Bold and Italic**_ This text is **_Bold and Italic_** This text is _**Bold and Italic**_

    This text is Bold and Italic This text is Bold and Italic This text is Bold and Italic This text is Bold and Italic This text is Bold and Italic This text is Bold and Italic

    Strikethrough:

    This is a ~~Striked Text~~

    This is a Striked Text


    Links

    [Abhay Talreja](https://www.abhaytalreja.com) [Abhay Talreja](https://www.abhaytalreja.com 'Abhay Talreja website link')

    Abhay Talreja Abhay Talreja

    Reference-style:

    [Abhay Talreja with reference][website] [website]: https://abhaytalreja.com

    Abhay Talreja with reference

    Auto-linking:

    https://www.abhaytalreja.com <https://www.abhaytalreja.com>

    https://www.abhaytalreja.com https://www.abhaytalreja.com


    Images

    ![Markdown Image](https://upload.wikimedia.org/wikipedia/commons/thumb/4/48/Markdown-mark.svg/208px-Markdown-mark.svg.png)

    Markdown Image

    Linking images:

    [![Markdown Image](https://upload.wikimedia.org/wikipedia/commons/thumb/4/48/Markdown-mark.svg/208px-Markdown-mark.svg.png)][my-website] [my-website]: https://abhaytalreja.com "Click to see Abhay Talreja's website"

    Blockquotes

    > This is a blockquote

    This is a blockquote

    Nested blockquotes:

    > This is a blockquote > > > This is a nested blockquote

    This is a blockquote

    This is a nested blockquote


    Lists

    Ordered List:

    1. Item 1 2. Item 2 3. Item 3
    1. Item 1
    2. Item 2
    3. Item 3

    Unordered List:

    - Item 1 - Item 2 - Item 3
    • Item 1
    • Item 2
    • Item 3

    Nested List:

    1. Item 1 2. Item 2 - Nested Item 1 - Nested Item 2 3. Item 3
    1. Item 1
    2. Item 2
      • Nested Item 1
      • Nested Item 2
    3. Item 3

    Code

    Inline code:

    Here is an example of inline code block - `var x = 10;`

    Here is an example of inline code block - var x = 10;

    Code block:

    <html> <head></head> <body></body> </html>
    <html> <head></head> <body></body> </html>

    Fenced code block with language:

    <html> <head></head> <body></body> </html>
    <html> <head></head> <body></body> </html>

    Escape Characters

    Escape special characters with a backslash:

    CharacterName
    \backslash
    `backtick
    *asterisk
    _underscore
    { }curly braces
    [ ]brackets
    ( )parentheses
    #pound sign
    +plus sign
    -minus sign
    .dot
    !exclamation
    |pipe

    Happy Learning! Keep Sharing!


    References:

    • John Gruber's Markdown Spec
    • GitHub Flavored Markdown
    Abhay Talreja

    Abhay Talreja

    Solution Architect & Technology Leader

    I help teams build scalable, maintainable software. Passionate about modern JavaScript, clean code, and sharing what I learn.

    More about me
    DevelopmentVibe-CodingReference

    Share this article

    Related Articles

    Task Driven Development Best Practices Guide: Mastering AI-Driven Software Development
    Vibe-Coding

    Task Driven Development Best Practices Guide: Mastering AI-Driven Software Development

    A comprehensive guide to implementing Task Driven Development effectively. Learn proven strategies, templates, and techniques for managing AI agents as a professional development workforce.

    June 13, 2025•32 min read
    Task Driven Development: The Professional Evolution of AI Coding
    Vibe-Coding

    Task Driven Development: The Professional Evolution of AI Coding

    Discover how Task Driven Development (TDD) is revolutionizing AI-assisted software development, moving beyond simple prompting to structured, professional workflows that deliver real products.

    June 13, 2025•11 min read
    10 Modern JavaScript Features You Should Be Using
    Development

    10 Modern JavaScript Features You Should Be Using

    Discover the top 10 modern JavaScript features (ES6+) that every developer should master in 2024. Learn how these features can boost your productivity, code quality, and help you stay ahead in web development.

    June 8, 2024•7 min read