Skip to content
Markdown & YAML Cheat Sheet

Markdown & YAML Cheat Sheet

Link
https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/
Type
Article
State
active
Tags
#article #cheatsheet #yaml

Summary

A one-page cheat sheet covering Markdown basics and the YAML you need for frontmatter.

Key takeaways

  • YAML: indent with two spaces; key: value pairs; - for list items.
  • > folds a multi-line string into one line; | keeps the line breaks.
  • Quote strings when in doubt to avoid escaping surprises.
  • YAML at the top of a Markdown file adds structured data: frontmatter.

Quotes

References

  1. https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/