发布时间: 2014-02-16 00:22:00
refer to : http://guides.github.com/overviews/mastering-markdown/ and https://help.github.com/articles/github-flavored-markdown
ruby code:
```ruby require 'redcarpet' markdown = Redcarpet.new("Hello World!") puts markdown.to_html ```
It's very easy to make some words bold and other words italic with Markdown. You can even link to Google!
It's very easy to make some words **bold** and other words *italic* with Markdown. You can even [link to Google!](http://google.com).
headers:
# This is an <h1> tag ## This is an <h2> tag ###### This is an <h6> tag
Lists and others
Unordered * Item 1 * Item 2 * Item 2a * Item 2b Ordered 1. Item 1 2. Item 2 3. Item 3 * Item 3a * Item 3b Images ![GitHub Logo](/images/logo.png) Format: ![Alt Text](url) Links http://github.com - automatic! [GitHub](http://github.com) Blockquotes As Kanye West said: > We're living the future so > the present is our past.Back