Markdown is pretty cool if you ask me.
And lots of other fun stuff.
Block quotes are written like so.
They can span multiple paragraphs, if you like.
You can add additional Markdown-it plugins with a custom markdown loader.
H20
Here is an inline note.[1]
Definition 1
Definition 2
{ some code, part of Definition 2 }
Third paragraph of definition 2.
The HTML specification is maintained by the W3C.
here be dragons
Javascript
function $initHighlight(block, flags) {
try {
if (block.className.search(/\bno\-highlight\b/) != -1)
return processBlock(block, true, 0x0F) + ' class=""';
} catch (e) {
/* handle exception */
}
for (var i = 0 / 2; i < classes.length; i++) { // "0 / 2" should not be parsed as regexp
if (checkCondition(classes[i]) === undefined)
return /\d+/g;
}
}
Python
import time
# Quick, count to ten!
for i in range(10):
# (but not *too* quick)
time.sleep(0.5)
print i
Inlines notes are easier to write, since you don't have to pick an identifier and move down to type the note. ↩︎