Header Section
H1
H2
H3
H4
H5
H6
1 | # H1 |
Emphasis
Strong emphasis, aka bold, with asterisks or underscores.
Combined emphasis with asterisks and underscores.
Strike through uses two tildes. Scratch this.
1 |
|
Lists
List item can simply start with the number at the beginning of the line:
- this is the first list
- this can be the second one
- if you want an unordered list, you can start with asterisks/* plus/+ or minuses/-
- This is an unordered list
- This one also works
- and this one
1 | 1. this is the first list |
Link
This an inline-style link with title
This is a reference-style link
This is a relative reference to a repository file
You can use numbers for reference-style link definitions
Or leave it empty and use the link text itself.
URLs and URLs in angle brackets will automatically get turned into links.
http://www.google.com or http://www.google.com and sometimes
google.com.
Some text to show that the reference links can follow later.
1 | [This an inline-style link](https://aaronjianlanwang.github.io/) |
Image
The following imges are all from my blog (hover to see the title text):
Inline-style:
Reference-style:
1 | Inline-style: |
Code and Syntax
For simple in line code can simply use back-ticks around the coude section
1 | jsut use `back-ticks around the coude section` and the syntax will hightlight |
for section of code blocks start with 3 back-ticks ``` follow with the language name at the end of the code use 3 back ticks to wrap the code block.
1 | var s = "this is js syntax highlighting"; |
1 | s = "this is python syntax highlighting" |
Inline HTML
In markdown format it supports the raw HTML, and it’ll mostly work pretty well.