← All posts

Practical Markdown Cheat Sheet for Better Everyday Notes


The Definitive Markdown Cheat Sheet for Knowledge Management

Markdown is not merely a formatting syntax; it is a protocol for long-term thought preservation. Unlike proprietary formats like .docx or .pages, Markdown is a plain-text standard that ensures your notes remain readable in fifty years, regardless of which software survives the next decade. This markdown cheat sheet moves beyond basic bolding to provide a technical foundation for building a resilient personal knowledge base.

Writing in plain text forces a separation between content and presentation. When you stop hunting through menus for a “Heading 2” button, you reclaim the cognitive bandwidth required for deep work. The following syntax guide is optimized for researchers, developers, and knowledge workers who prioritize speed and structural integrity.

Structuring Thoughts with Headings

Headings are the structural anchors of your document. In a knowledge management context, they do more than change font size; they create a document object model that allows software to index, fold, and link to specific sections. Markdown uses the hash symbol (#) to denote levels.

H1: The Document Title

H2: Major Section

H3: Sub-section

H4: Minor Detail

In most systems, you should only use one H1 per file, typically as the title. H2s function as the primary chapters of your note. A common mistake is using bold text instead of a heading. Bold text is a visual style; a heading is a semantic marker. Without proper headings, your knowledge management tool cannot generate an accurate Table of Contents or allow you to “transclude” (embed) a specific section into another note.

Always include a space between the hash and the text. While some parsers are lenient, the CommonMark standard requires # Heading, not #Heading. Consistency here ensures your files render correctly across Obsidian, Logseq, GitHub, and VS Code.

Lists and the Logic of Organization

Lists are the primary tool for decomposing complex ideas. Markdown supports unordered, ordered, and task lists.

Unordered Lists Use a hyphen (-), asterisk (*), or plus sign (+) followed by a space. Stick to one for consistency. Hyphens are generally preferred in the KM community for their clean look in raw text.

  • Idea A
  • Idea B
    • Sub-idea B1 (Indented by four spaces or one tab)
    • Sub-idea B2

Ordered Lists Ordered lists use numbers followed by a period. A powerful feature of Markdown is that the actual numbers you type do not matter. If you type 1. for every item, the renderer will automatically number them 1, 2, 3 sequentially. This allows you to rearrange steps in a process without manually re-numbering the entire list.

  1. First step
  2. Second step
  3. Third step

Task Lists Task lists are essential for project tracking within your notes. They use a hyphen, a space, and brackets.

  • [x] Completed research on Zettelkasten
  • [ ] Draft the summary
  • [/] In-progress task (supported by some editors like Logseq)

These lists provide a visual record of momentum. When reviewing weekly logs, these markers allow you to filter for incomplete actions across your entire vault.

Integrating Data with Tables

Tables in Markdown are often criticized for being cumbersome to type, but they are the only way to handle multi-dimensional data without resorting to a spreadsheet. The syntax relies on pipes (|) and hyphens (-).

Tool Format Portability
Obsidian Markdown High
Notion Proprietary Medium
Evernote Enex Low

Alignment Control: - :--- Left-aligned (default) - :---: Centered - ---: Right-aligned

You do not need to make the pipes line up perfectly in your raw text file. As long as the header row and the separator row (the one with the hyphens) are present, the renderer will fix the alignment. Use tables for comparison matrices, metadata tracking, or structured logs where lists become too vertical.

Code, Quotes, and Technical Emphasis

For technical notes, Markdown provides two ways to handle code. Inline code is wrapped in single backticks (`). This is used for file names, variable names, or keyboard shortcuts like `Ctrl+C`.

For larger snippets, use code blocks fenced by three backticks (```). Most modern editors support syntax highlighting if you specify the language immediately after the first set of backticks:

def greet_user(name):
    print(f"Hello, {name}!")

Blockquotes Blockquotes use the > symbol. They are vital for research-heavy workflows where you need to distinguish your own thoughts from the source material.

“The best way to predict the future is to invent it.” — Alan Kay

You can nest blockquotes by using >> for a quote within a quote. This is particularly useful when archiving email threads or forum discussions.

Emphasis - Italics: Use one asterisk *text* or underscore _text_. - Bold: Use two asterisks **text** or underscores __text__. - ~~Strikethrough~~: Use two tildes ~~text~~.

Use bolding for “scannability.” A reader should be able to look at a 1,000-word note and understand the core argument just by reading the bolded phrases.

Links, Images, and the Architecture of Context

In knowledge management, a note’s value is defined by its connections. Standard Markdown links use the [Text](URL) format.

Internal vs. External Links - External: [Search Engine](https://google.com) - Internal (Standard): [Meeting Notes](notes/2023-10-11.md) - Internal (WikiLinks): [[2023-10-11]]

While WikiLinks (double brackets) are not part of the original Markdown specification, they are the industry standard for tools like Obsidian, Roam, and Memfect. They allow for “bi-directional linking,” where the destination note knows which other notes are pointing to it.

Images Images use the same syntax as links but are preceded by an exclamation mark: ![Alt text](image-link.jpg). The alt text is important for accessibility and for finding the image via search if the file name is non-descriptive (like IMG_5421.png).

Advanced Syntax: YAML, Footnotes, and Math

To truly master a “markdown cheat sheet” for KM, you must go beyond the basics into metadata and academic tools.

YAML Frontmatter At the very top of your file, you can include a YAML block between two sets of triple hyphens. This stores metadata that isn’t displayed in the rendered note but is used by databases and plugins.


tags: [research, biology] status: in-progress date_created: 2023-10-27


Footnotes Footnotes allow you to keep your primary text clean while providing citations or tangential asides.

Here is a claim that requires a source.1

Mathematical Notation Most KM tools use LaTeX syntax for math, wrapped in dollar signs. Use $E=mc^2$ for inline math and $$ for block equations. This is indispensable for students and researchers in STEM fields.

The Philosophy of Plain Text

The ultimate goal of learning this syntax is to reach a state where the formatting happens at the speed of thought. When you no longer have to think about how to create a table or a link, the tool disappears, leaving only your ideas. Markdown is a declaration of digital independence. By storing your knowledge in a format that is human-readable and machine-parsable, you ensure that your intellectual assets are never locked behind a proprietary paywall or a defunct software company’s servers. Use these tools to build a second brain that is as organized as it is permanent.


  1. This is the footnote content at the bottom of the page.