Markdown: Syntax
This post is a compact markdown rendering test for the rebuilt Astro site.
Overview
Markdown is intended to be easy to read and easy to write. The source should still look publishable as plain text, without being buried in formatting instructions.
Block Elements
Paragraphs and Line Breaks
A paragraph is simply one or more consecutive lines of text, separated by one or more blank lines.
When you need a hard break, end a line with two or more spaces, then type return.
Headers
Markdown supports multiple heading levels. The number of opening hashes determines the heading level.
Blockquotes
This is a blockquote with two paragraphs. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
Donec sit amet nisl. Aliquam semper ipsum sit amet velit.
Blockquotes can contain other markdown elements, including lists and code blocks.
Lists
Unordered lists can use asterisks, pluses, or hyphens:
- Red
- Green
- Blue
Ordered lists use numbers followed by periods:
- Bird
- McHale
- Parish
Code Blocks
<div class="footer">
© 2024 Charon De Beukelaer
</div>
Inline code like SELECT * FROM logs should stand out without interrupting the line.
Span Elements
Markdown supports links, emphasis, inline code, and images.