Marks can used with text
nodes (or strings) to apply formatting and hyperlinks.
Most (but not all) marks can be combined, e.g.
emphasis(link(strong('wow'), 'http://example.com')))
code(textContent)
code('var x = 1;')
var x = 1;
color(textContent, color)
color('colorful', '#cc00ee')
aliases: em
or i
emphasis(textContent)
emphasis('wow')
wow
alias: a
link(textContent, url)
link('Click here', 'http://example.com')
alias: s
strike(textContent)
strike('wrong')
wrong
alias: b
strong(textContent)
strong('important')
important
alias: sub
subscript(textContent)
subscript('down here')
down here
alias: sup
superscript(textContent)
superscript('up here')
up here
alias: u
underline(textContent)
underline('underlined')