Here's our logo (hover to see the title text):
Inline-style:
Reference-style:
def _render_text(self, text, lang="markdown"):
if lang == "markdown":
return markdown.markdown(text, link_patterns=link_patterns,
extensions=[
"codehilite",
"fenced_code",
"footnotes",
"nl2br",
"sane_lists",
"tables",
"toc",
])
var s = "JavaScript syntax highlighting";
alert(s);
s = "Python syntax highlighting"
print s
No language indicated, so no syntax highlighting.
But let's throw in a <b>tag</b>.
Colons can be used to align columns.
Tables | Are | Cool |
---|---|---|
col 3 is | right-aligned | $1600 |
col 2 is | centered | $12 |
zebra stripes | are neat | $1 |
There must be at least 3 dashes separating each header cell.
The outer pipes (|) are optional, and you don't need to make the
raw Markdown line up prettily. You can also use inline Markdown.
Markdown | Less | Pretty |
---|---|---|
Still | renders |
nicely |
1 | 2 | 3 |
Older Revisions • July 17, 2019 at 2:29 pm • Michael Tremer