Content¶
Everything below the separator is the content. Content should be written in Markdown.
A post’s extension should be either .md or .markdown .
A sample post looks like
# Hello, World! <---- This is title
- time: 2013-08-25 23:30 <---- This is meta
- tags: hello world
---
Hello, World! <---- This is content
This is my first post in catsup.
I'm writing in **MarkDown** !
<strong>HTML is supported, too</strong>
```python
print("I love python")
```
A post consists of three parts:
Title should always on the first line and starts with #
Meta is some information about the post. It’s below title and above the separator.
The separator separates meta and content. It should be at least three -
---
It’s okay to make it longer
----------------
Everything below the separator is the content. Content should be written in Markdown.
Catsup supports GitHub’s style code highlight, like this
```python
print("Hello World!")
```
Page is a kind of post. Turn an ordinary post into page by adding - type: page in post’s meta.
So, what’s the difference between page and post?