• 100% IN-BROWSER
PROCESSED: 687
Back to Resources
— SYNTAX REFERENCE GUIDEGFM COMPLIANT

Markdown Syntax & Formatting Cheat Sheet.

Quick reference guide for GitHub Flavored Markdown (GFM) and CommonMark syntax. Copy code blocks into your LLM prompts or Markdown editor in 1 click.

ATX HeadingsSTRUCTURE
# Heading Level 1
## Heading Level 2
### Heading Level 3
#### Heading Level 4

Creates H1 to H4 hierarchy tags essential for document outline chunking.

GFM Data TableTABLES
| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `chunk_size` | integer | 512 | Target token chunk size |
| `overlap` | integer | 64 | Overlap token margin |
| `format` | string | "gfm" | Markdown syntax rules |

Standard Markdown table formatting parsed cleanly by LLM RAG pipelines.

YAML Frontmatter HeaderMETADATA
---
title: "Why Markdown for AI Agents"
date: "2026-08-01"
author: "ILoveMD Engineering"
tokens_estimated: 1250
tags: ["rag", "llm", "markdown"]
---

Injects key-value document metadata at the top of Markdown files.

Fenced Code BlocksCODE
```python
def convert_to_markdown(file_path: str) -> str:
    # 100% In-Browser Local Parsing
    with open(file_path, "r") as f:
        return f.read()
```

Syntax-highlighted code block preserving exact line indentation.

Interactive Task ListsLISTS
- [x] Parse PDF document streams
- [x] Generate GFM Markdown tables
- [/] Ingest into Pinecone Vector DB
- [ ] Deploy AI Agent Tool Call

Checklist format for tracking sub-tasks.

Blockquotes & AlertsCALLOUTS
> **CRITICAL RAG NOTE**: Markdown heading levels (# H1, ## H2) should always match logical document hierarchy to prevent chunking fragmentation.

Indented blockquote callout box for highlighting key warnings.