Markdown

About this knowledge base

Markdown is a lightweight markup format for expressing headings, paragraphs, lists, links, code, and tables in plain text. AI Agent Engineer uses it to maintain README files, runbooks, tool contracts, prompt documentation, experiment records, and Obsidian knowledge bases. The real goal is not memorizing symbols. It is writing engineering documents whose source is readable, whose target host renders predictably, whose links remain maintainable, whose steps are executable, and whose evidence boundaries are clear.

This knowledge base separates a seven-lesson core path from three reference materials. The Complete Markdown Tutorial and The Complete Mermaid Tutorial are retained as large reference layers. Follow the short lessons first, then look up the section that answers a concrete problem. Dynamic-version facts and compatibility notes for the larger tutorials are collected in References, versions, and compatibility notes.

Place in the overall path

This knowledge base belongs to the Engineering Foundations domain. Across the four role tracks, it commonly follows JSON and leads into Git. Later prompt-engineering, RAG, Agent, evaluation, and production courses reuse the writing habits for structure, links, evidence, and safety established here, but the complete Markdown course is not a hard prerequisite.

Learning objectives

  • Use headings, paragraphs, lists, quotations, tables, links, images, and nested code fences.
  • Explain line breaks, indentation, fences, and compatibility differences through the chain “source text → parser → host rendering.”
  • Distinguish CommonMark 0.31.2, GFM 0.29-gfm, Obsidian extensions, and platform features.
  • Use full-path wikilinks, heading and block links, embeds, and the adjacent-attachment convention.
  • Design Properties with clear types, no duplicate keys, and no sensitive information.
  • Use callouts and Mermaid to express necessary semantics without letting visual elements replace the prose contract.
  • Write Agent-engineering documents that beginners can execute and review, distinguishing expectations, measured facts, recommendations, inferences, and unknowns.

Prerequisites

You only need a text editor and folders; programming is not required. Observe Obsidian source mode alongside Live Preview or Reading View when possible. Command exercises use Windows 11 and PowerShell 7, but this course does not create virtual environments, install dependencies, or call external APIs.

OrderLessonProblem it solves
1Markdown basics and readable source filesHow does Markdown turn plain text into structure, and how can a document stay readable before rendering?
2CommonMark, GFM, and Obsidian syntax boundariesWhich features are a portable core, GFM extensions, Obsidian-only syntax, or host behavior?
3Obsidian links, attachments, and embedsHow do you avoid ambiguous same-name targets and maintain heading, block, and attachment embeds?
4Properties, callouts, and reusable notesHow do you design searchable metadata and semantically meaningful callout blocks?
5Structured technical writing for Agent engineeringHow do README files, runbooks, experiment records, and tool contracts become executable and reviewable?
6Integrated writing practice and Mermaid debuggingHow do small tasks exercise structure, links, Properties, diagrams, and minimal debugging?
7Knowledge-base runbook project and self-testHow do you deliver a complete runbook with a contract, failure paths, safety boundaries, and reader tests?

Use the reference layer when needed:

Hands-on practice and project entry points

For every exercise, inspect the source file first and Reading View second; both should be understandable. If another reader is unavailable, wait a day and do a paper walkthrough using only your own runbook, recording the information that is still missing.

Mastery criteria

  • I can organize a long document with heading levels, paragraphs, and lists instead of using bold text or spaces to manufacture structure.
  • I can explain block and inline structure and repair line-break, indentation, and nested-fence problems.
  • I can label common syntax as CommonMark, GFM, Obsidian, or platform-layer behavior.
  • I can create unambiguous full-path note, heading, and block links, and embed a real target.
  • I can write Properties with no duplicate keys, stable types, and no secrets.
  • I can verify Mermaid in the current Obsidian Reading View and record host-version unknowns.
  • I can write a runbook with a goal, contract, steps, failures, safety, validation, and sources.
  • I can let another beginner answer “where do I start, when do I stop, and what counts as success?” using only the document.

Relationship to other knowledge bases

Knowledge baseConnection
GitPlain-text diffs, renames, conflicts, and review.
Prompt Engineering and Context EngineeringUse a clear hierarchy to distinguish tasks, data, examples, and output; do not treat fences as a security boundary.
MCP and Agent SkillsTool and skill documentation needs inputs, outputs, errors, side effects, approval, and versioning.
Evaluation and runtime-monitoring knowledge basesTest plans, event records, and retrospectives need traceable evidence.

Acceptance record for this revision

Acceptance date: 2026-07-14.

  • Actual structure: 13 Markdown files: seven core-path lessons, three reference materials, two real exercise artifacts, and this index.
  • All rendered internal links, heading fragments, block IDs, and one real embed were statically parsed with zero broken links; newly created or changed content has no ambiguous short link.
  • All 137 top-level code fences are closed; all 62 Mermaid blocks have a recognizable diagram-type declaration.
  • Eight PowerShell fences passed syntax parsing; Python, JSON, and JavaScript examples passed their respective static syntax checks.
  • Twenty-nine unique external URLs returned HTTP 200 during acceptance; dynamic facts were also checked against primary documentation.
  • ‘git diff —check’ passed, with no cache, virtual environment, large data, model artifact, or apparent real credential found.
  • Obsidian Reading View was not manually verified, and Mermaid CLI was not used. The final UI behavior of callouts, Properties, real block embeds, and Mermaid should still be spot-checked in the current Obsidian version.

Primary references

Checked: 2026-07-14. Dynamic versions and corrections are detailed in References, versions, and compatibility notes.

May change: extensions supported by different renderers vary. Recheck the concrete behavior of Mermaid, Properties, and Obsidian in the target version. This revision completed static checks of files, frontmatter, fences, and internal links; a manual Obsidian Reading View check can only be marked complete after it has actually been performed.