标题
1 | 标题都以#开头,标题会自动换行 |
代码高亮
1 |
|
1 | def function(): |
1 | require 'redcarpet' |
1 | No language indicated, so no syntax highlighting. |
becomes:
var s = "JavaScript syntax highlighting";
alert(s);
def function():
#indenting works just fine in the fenced code block
s = "Python syntax highlighting"
print s
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html
No language indicated, so no syntax highlighting.
s = "There is no highlighting for this."
But let's throw in a <b>tag</b>.
1 |
|