Markdown Guide
This page demonstrates the Markdown features and site-specific styling. Use it as a reference when writing content.
Headings
H1
H2
H3
H4
H5
H6
Paragraph
This is a paragraph with inline elements: emphasis with italics, strong with bold, inline code, and a link.
Images
Example:
Blockquotes
Without attribution
Tiam, ad mint andaepu dandae nostion secatur sequo quae.
You can use Markdown syntax within a blockquote.
With attribution
Don’t communicate by sharing memory, share memory by communicating.
— Rob Pike1
Tables
| Column | Italics | Bold | Code |
|---|---|---|---|
| A | italics | bold | code |
Code Blocks
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Example HTML5 Document</title>
</head>
<body>
<p>Test</p>
</body>
</html>
echo "Hello, world"
export function greet(name) {
return `Hello, ${name}!`
}
console.log(greet('world'))
---
import { SITE_TITLE } from '../consts';
---
<section>
<h1>{SITE_TITLE}</h1>
<p>Astro component example.</p>
</section>
List Types
Ordered
- First item
- Second item
- Third item
Unordered
- List item
- Another item
- And another item
Nested
- Fruit
- Apple
- Orange
- Banana
- Dairy
- Milk
- Cheese
Other Elements — abbr, sub, sup, kbd, mark
GIF is a bitmap image format.
H2O
Xn + Yn = Zn
Press CTRL+ALT+Delete to end the session.
Most salamanders are nocturnal.
Math
Inline math: .
Block math:
Blockquote Examples
Example quote: “Security is a process, not a product.”
— Bruce Schneier
“The quieter you become, the more you are able to hear.”
Admonitions with blockquote syntax
NoteUseful information that users should know, even when skimming content.
TipHelpful advice for doing things better or more easily.
ImportantKey information users need to know to achieve their goal.
WarningUrgent info that needs immediate user attention to avoid problems.
CautionAdvises about risks or negative outcomes of certain actions.
Footnotes
-
Excerpted from Rob Pike’s talk during Gopherfest, November 18, 2015. ↩