Essential Markdown Syntax Reference

Document Hierarchy

Prefix lines with hash symbols to define heading levels. Six levels are supported, ranging from # for the primary title to ###### for the smalest subsection.

# Project Overview
## Architecture Details
### Database Schema
#### Migration Scripts
##### Testing Protocols
###### Version History

Text Styling and Elements

Apply various styles to text using specific delimiters. Horizontal rules separate content sections.

---

~~deprecated feature~~

*emphasized text* or _emphasized text_

**strong importance** or __strong importance__

***bold emphasis*** or ___bold emphasis___

Chemical formula: H<sub>2</sub>O
Mathematical power: E = mc<sup>2</sup>

<abbr title="Application Programming Interface">API</abbr> documentation refers to the <abbr title="Software Development Kit">SDK</abbr>.

Blockquotes and References

Prepend lines with > to create quotations. Nesting is achieved by adding multiple symbols.

> System notification: Maintenance scheduled.

> Note: Insert a line break by adding two spaces at the end of the line.  
> Reference: [Documentation Hub](https://docs.example.com)

Hyperlinks and Anchors

Define connections to external resources or internal sections.

[Standard Link](https://www.example.com)
[Link with Tooltip](https://www.example.com "View Details")
Auto-link: <https://www.example.com>

[Reference Style][ref-id]
[ref-id]: https://www.example.com

Email contact: [support@example.com](mailto:support@example.com)
Mention user: @developer
Automatic email detection: admin@example.com

Code Integration

Highlight syntax for better readability. Use backticks for inline snippets.

Run process: `docker compose up`

Indent lines by four spaces to create preformatted blocks without language highlighting.

    def main():
        print("System Start")

Python Example:

def calculate_total(items):
    total = 0
    for price in items:
        total += price
    return total

JSON Configuration:

{
  "environment": "production",
  "debug": false,
  "max_connections": 100
}

Images and Media

Embed visuals using alt text and source URLs.

![Architecture Diagram](https://via.placeholder.com/600x400 "System Flow")

List Structures

Create unordered lists using hyphens, asterisks, or plus signs. Indentation creates nesting.

- Item Alpha
- Item Beta
  - Sub-item 1
  - Sub-item 2
+ Item Gamma
  * Nested Delta

Ordered lists use numbers followed by a period.

1. Step One
2. Step Two
3. Step Three

Task lists allow tracking progress.

- [x] Initialize repository
- [x] Configure CI/CD
- [ ] Deploy to staging
  - [ ] Run smoke tests
  - [ ] Verify logs
- [ ] Deploy to production

Data Tables

Align content using colons in the delimiter row.

| Task ID | Assignee | Status |
| :--- | :---: | ---: |
| 101 | Alice | Done |
| 102 | Bob | Pending |
| 103 | Charlie | Review |

Special Characters

Use HTML entities for reserved characters.

&copy; &reg; &trade;
&lt; &gt; &amp;
&euro; &yen; &pound;
&frac12; &times; &divide;

Flowcharts and Diagrams

Define process flows using specialized syntax blocks.

graph TD
    A[Start Build] --> B{Tests Pass?}
    B -->|Yes| C[Deploy Artifact]
    B -->|No| D[Notify Team]
    D --> A

Tags: Markdown Syntax documentation formatting Reference

Posted on Mon, 12 Oct 2026 16:23:32 +0000 by SEVIZ