Markdown Style Guide
Here is a sample of some basic Markdown syntax that can be used when writing Markdown content in Astro.
Headings
The following HTML <h1>—<h6> elements represent six levels of section headings. <h1> is the highest section level while <h6> is the lowest.
H1 Heading
H2 Heading
H3 Heading
H4 Heading
H5 Heading
H6 Heading
Paragraph
Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur?
Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga.
Blockquotes
The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a footer or cite element.
Don’t communicate by sharing memory, share memory by communicating. — Rob Pike
Ordered List
- First item
- Second item
- Third item
Unordered List
- List item
- Another item
- And another item
Code
Use backticks for inline code.
// This is a code block
function greet(name) {
return `Hello, ${name}!`;
}
Images
Images in posts can be referenced by path.