dopetalk does not endorse any advertised product nor does it accept any liability for it's use or misuse


Our Discord Notification Server invitation link is https://discord.gg/jB2qmRrxyD

Author Topic: A Comprehensive List of All Markdown (md) Syntax  (Read 14 times)

Offline smfadmin (OP)

  • SMF (internal) Site
  • Administrator
  • Sr. Member
  • *****
  • Join Date: Dec 2014
  • Location: Management
  • Posts: 556
  • Reputation Power: 0
  • smfadmin has hidden their reputation power
  • Last Login:Today at 05:00:52 AM
  • Supplied Install Member
A Comprehensive List of All Markdown (md) Syntax
« on: Yesterday at 07:28:32 PM »
Here's a comprehensive breakdown
    of Markdown syntax, organized by category.

    ## 1. Headers

    ```markdown
    # H1
    ## H2
    ### H3
    #### H4
    ##### H5
    ###### H6
    ```

    **Alternative syntax (H1/H2 only):**
    ```markdown
    H1 Header
    =========

    H2 Header
    ---------
    ```

    ## 2. Text Formatting

    | Syntax | Result |
    |---|---|
    | `*italic*` or `_italic_` | *italic* |
    | `**bold**` or `__bold__` | **bold** |
    | `***bold italic***` | ***bold italic*** |
    | `~~strikethrough~~` | ~~strikethrough~~ |
    | `` `inline code` `` | `inline code` |

    ## 3. Lists

    **Unordered:**
    ```markdown
    - Item 1
    - Item 2
      - Nested item
    * Item (asterisk also works)
    + Item (plus also works)
    ```

    **Ordered:**
    ```markdown
    1. First item
    2. Second item
       1. Nested item
    3. Third item
    ```

    **Task lists (GFM extension):**
    ```markdown
    -
    • Completed task

    - [ ] Incomplete task
    ```

    ## 4. Links

    ```markdown
    [Link text](https://example.com)
    [Link with title](https://example.com "Title text")
    <https://example.com>              (auto-link)
    [Reference link][1]

    [1]: https://example.com          (reference definition)
    ```

    ## 5. Images

    ```markdown
    ![Alt text](image.jpg)
    ![Alt text](image.jpg "Optional title")
    ```

    ## 6. Code Blocks

    **Fenced code block (recommended):**
    ````markdown
    ```python
    def hello():
        print("Hello, world!")
    ```
    ````

    **Indented code block (4 spaces):**
    ```markdown
        def hello():
            print("Hello, world!")
    ```

    ## 7. Blockquotes

    ```markdown
    > This is a blockquote
    >> Nested blockquote
    > Multiple lines
    > in same quote
    ```

    ## 8. Horizontal Rules

    ```markdown
    ---
    ***
    ___
    ```
    (All three produce identical horizontal lines)

    ## 9. Tables (GFM extension)

    ```markdown
    | Header 1 | Header 2 | Header 3 |
    |----------|:--------:|---------:|
    | Left     | Center   | Right    |
    | aligned  | aligned  | aligned  |
    ```

    **Alignment markers:**
    - `:---` = left align
    - `:---:` = center align
    - `---:` = right align

    ## 10. Escaping Characters

    ```markdown
    \* Not italic \*
    \# Not a header
    \[Not a link\]
    ```

    Use backslash before: `\ ` `` ` `` `*` `_` `{ }` `[ ]` `( )` `#` `+` `-` `.` `!`

    ## 11. Line Breaks

    ```markdown
    End line with two spaces 
    for a line break (no new paragraph)

    Blank line

    for a new paragraph
    ```

    ## 12. Footnotes (Extension, not universally supported)

    ```markdown
    Here's a sentence with a footnote.[^1]

    [^1]: This is the footnote content.
    ```

    ## 13. Definition Lists (Extension)

    ```markdown
    Term
    : Definition 1
    : Definition 2
    ```

    ## 14. GitHub-Specific Extensions

    **Mentions:**
    ```markdown
    @username
    ```

    **Issue/PR references:**
    ```markdown
    #123
    ```

    **Emoji:**
    ```markdown
    :smile: :heart: :thumbsup:
    ```

    **Syntax highlighting (language-specific):**
    ````markdown
    ```javascript
    ```
    ```bash
    ```
    ```json
    ```
    ````

    ## 15. HTML Embedding

    Most Markdown flavors allow raw HTML:
    ```markdown
    <div align="center">
      Centered content
    </div>


              (manual line break)
    <sub>subscript</sub>
    <sup>superscript</sup>
    ```

    ## Quick Reference Table

    | Element | Syntax |
    |---|---|
    | Header | `# H1` |
    | Bold | `**text**` |
    | Italic | `*text*` |
    | Strikethrough | `~~text~~` |
    | Link | `[text](url)` |
    | Image | `![alt](url)` |
    | Code | `` `code` `` |
    | Code block | ` ```lang ` |
    | Blockquote | `> text` |
    | List (unordered) | `- item` |
    | List (ordered) | `1. item` |
    | Horizontal rule | `---` |
    | Table | `\| col \|` |
    | Task list | `- [
    [...truncated: increase max_tokens...]
    friendly
    0
    funny
    0
    informative
    0
    agree
    0
    disagree
    0
    like
    0
    dislike
    0
    No reactions
    No reactions
    No reactions
    No reactions
    No reactions
    No reactions
    No reactions
    measure twice, cut once

    Tags:
     

    Related Topics

      Subject / Started by Replies Last post
    0 Replies
    22891 Views
    Last post March 17, 2015, 09:11:59 PM
    by smfadmin
    2 Replies
    31326 Views
    Last post September 01, 2015, 10:48:36 PM
    by Daughter of Dionysus
    0 Replies
    17766 Views
    Last post September 07, 2015, 03:11:57 AM
    by St. Theresa
    3 Replies
    33524 Views
    Last post November 10, 2015, 05:22:50 AM
    by Chip
    0 Replies
    19558 Views
    Last post March 01, 2018, 08:59:45 PM
    by Chip
    2 Replies
    33998 Views
    Last post October 20, 2018, 10:46:45 PM
    by Chip
    2 Replies
    33753 Views
    Last post October 22, 2020, 04:36:35 AM
    by Chip
    0 Replies
    22492 Views
    Last post April 02, 2024, 12:32:43 PM
    by Chip
    0 Replies
    12273 Views
    Last post December 24, 2024, 05:54:32 AM
    by Chip
    0 Replies
    18463 Views
    Last post December 21, 2025, 03:36:17 PM
    by smfadmin


    dopetalk does not endorse any advertised product nor does it accept any liability for it's use or misuse





    TERMS AND CONDITIONS

    In no event will d&u or any person involved in creating, producing, or distributing site information be liable for any direct, indirect, incidental, punitive, special or consequential damages arising out of the use of or inability to use d&u. You agree to indemnify and hold harmless d&u, its domain founders, sponsors, maintainers, server administrators, volunteers and contributors from and against all liability, claims, damages, costs and expenses, including legal fees, that arise directly or indirectly from the use of any part of the d&u site.


    TO USE THIS WEBSITE YOU MUST AGREE TO THE TERMS AND CONDITIONS ABOVE


    Founded December 2014
    SimplePortal 2.3.6 © 2008-2014, SimplePortal