function syntaxHighlighting() {
var n = 33;
var s = "hi";
console.log(s);
}
- plain
- emphasis
- strong emphasis
inline code
- Numbered list
- Link
Block quote.
With somemarkdown
.
If TeX Math support is enabled, this is the quadratic equation:
Header 1
Header 2
Header 3
Header 4
Header 5
Header 6
Tables | Are | Cool |
---|---|---|
col 3 is | right-aligned | $1600 |
col 2 is | centered | $12 |
zebra stripes | are neat | $1 |
Here’s a horizontal rule:
code block
with no highlighting
The above was pasted. This is
typed
.def hi(name):
print('Hello %s' % name)
Rendering this separately, so I can use a different syntax highlighting theme. Code with a dark background don’t seem to show up properly. This is using the IR Black theme:
def bye(name):
print('Farewell %s' % name)
Uh… That actually looks okay. Here’s Zenburn:
def creative_bankruptcy():
print('Need to go to bed.')
Yeah, that looks oddly pale.
No comments:
Post a Comment