Blog template
This is my first blog in the website. Below is about how to write a blog. You need be familiar with Markdown. Markdown is a lightweight markup language with plain text formatting syntax. It has many advantages such as simple writing rule, fenced code blocks and supporting mathjax, etc.
Front matter
Front-matter is at the beginning of the file that is used to configure settings for your writings. Doc sees here.
1 | --- |
Introduction
Before writing a blog, you need give a paragraph to describe what
this blog is about. It is optional to explain why you write this blog.
Below is an example. The prefix >
means the sentence is
quoted (just for looking beautiful in typesetting ).
1 | > This is my first blog in the website. Below is about how to write a blog. You need be familiar with Markdown. Markdown is a lightweight markup language with plain text formatting syntax. It has many advantages such as simple writing rule, fenced code blocks and supporting mathjax, etc. |
Heading
The blog need a clear structure that is divided by headings. In my website, each blog uses up to two level headings.
1 | ## heading 1 |
Listing
1 | - List 1 |
- List 1
- List 2
- List 3
Code
Here is a piece of C + + Code:
1 |
|
Equation
Display equations:
1 | $$ |
\[ f(x)=ax^2+bx+c \]