Kirby uses Markdown to format texts. It's a powerful yet easy notation to write for the web.
Here are the basics:
Line breaks & paragraphs
Kirbytext automatically converts single line breaks and paragraphs.
My first line
My second line
Another paragraph
Headlines
Headline 1
Headline 2
Headline 3
Headline 4
# Headline 1
## Headline 2
### Headline 3
#### Headline 4
Bold Text
The quick brown fox jumps over the lazy dog
**The quick brown fox jumps over the lazy dog**
Italic Text
The quick brown fox jumps over the lazy dog
_The quick brown fox jumps over the lazy dog_
Strikethrough Text
The quick brown fox jumps over the lazy dog
~~The quick brown fox jumps over the lazy dog~~
Unordered Lists
- Homer
- Marge
- Bart
- Lisa
- Maggie
- Homer
- Marge
- Bart
- Lisa
- Maggie
Ordered Lists
- Homer
- Marge
- Bart
- Lisa
- Maggie
1. Homer
2. Marge
3. Bart
4. Lisa
5. Maggie
Horizontal Rules
****
Quotes
Design is not just what it looks like and feels like.
Design is how it works.
– Steve Jobs
> Design is not just what it looks like and feels like.
> Design is how it works.
– Steve Jobs
Tables
The first row is always the header followed by an extra line with dashes - and optional colons : for forcing column alignment.
A colon on the left-most side indicates a left-aligned column; a colon on the right-most side indicates a right-aligned column; a colon on both sides indicates a center-aligned column.
| Artist | Album | Release Date |
|---|---|---|
| Huey Lewis and the News | Sports | 1983 |
| Phil Collins | No Jacket Required | 1985 |
| Peter Gabriel | So | 1986 |
| Artist | Album | Release Date |
| ------------------------ |:------------------:| ------------:|
| Huey Lewis and the News | Sports | 1983 |
| Phil Collins | No Jacket Required | 1985 |
| Peter Gabriel | So | 1986 |
Code Blocks
Blocks of code are either fenced by lines with three back-ticks or are indented with four spaces.
<?php
// awesome code example
?>```
<?php
// awesome code example
?>
```