Writing in Markdown

Writing with markdown is not quite hard. It is a text-to-HTML conversion tools for web writers. Actually, Hexo and many other static blogs have markdown support. I mark down some basic usage for reference, from Markdown Cheetsheet and the original sepc.

Headers

# H1
## H2
### H3
......

Alternatively, for H1 and H2, an underline-ish style:

Alt-H1
======


Alt-H2
------

Emphasis

Emphasis, aka italics, with *asterisks* or _underscores_.

Strong emphasis, aka bold, with **asterisks** or __underscores__.

Combined emphasis with **asterisks and _underscores_**.

Strikethrough uses two tildes. ~~Scratch this.~~

However, maybe it’s better to use bold all the time as stanstarks. :-)

Lists

1. First ordered list item
2. Another item

* Unordered list can use asterisks
- Or minuses
+ Or pluses

Links and Images

  • Links
[I'm an inline-style link](https://www.google.com)

[I'm a reference-style link][Arbitrary case-insensitive reference text]

[I'm a relative reference to a repository file](../blob/master/LICENSE)

[You can use numbers for reference-style link definitions][1]

Or leave it empty and use the [link text itself]
  • Images
Here's our logo (hover to see the title text):

Inline-style:
![alt text](https://github.com/adam-p/markdown-here/raw/master/src/common/images/icon48.png "Logo Title Text 1")

Reference-style:
![alt text][logo]

Horizontal Rules

Three or more dashes or asterisks:

---

* * *

- - - -

Manual Line Breaks

End a line with two or more spaces