Markdown Example
Headings
H1 Heading (for page titles)
H2 Heading
H3 Heading
Paragraphs
This is a normal paragraph. It can contain bold, italic, and inline code
.
Lists
- Unordered item 1
- Unordered item 2
- Nested item
- Unordered item 3
- Ordered item one
- Ordered item two
- Ordered item three
Links
Images
Blockquotes
This is a blockquote.
It can span multiple lines.
Code blocks
// Example JavaScript code
function hello(name) {
return `Hello, ${name}!`
}
console.log(hello("World"))
<?php
// Example PHP code
echo "Hello from PHP!";
<!-- Example HTML -->
<div class="box">Hello World</div>
Tables
Column 1 | Column 2 | Column 3 |
---|---|---|
Row 1 | Data A | Data B |
Row 2 | Data C | Data D |
Horizontal rule
Final notes
You can also write html in markdown files, but you can't nest markdown inside of html.
This sample page demonstrates the whole kit and kaboodle of Markdown features supported in NostalgiaPHP.