测试看看简书对 GFM 的支持如何了

URL autolinking

http://example.com

Strikethrough

Mistaken text.

代码(还没有语法高亮)

import urllib2
for line in urllib2.urlopen('http://tycho.usno.navy.mil/cgi-bin/timer.pl'):
  if 'EST' in line or 'EDT' in line:
    print line
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html

表格

First Header Second Header
Content Cell Content Cell
Content Cell Content Cell
Name Description
Help Display the help window.
Close Closes a window
Name Description
Help Display the help window.
Close Closes a window
Left-Aligned Center Aligned Right Aligned
col 3 is some wordy text $1600
col 2 is centered $12
zebra stripes are neat $1
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容