NOTE: This markdown cheatsheet is a typography demo for this theme. Check out this post to learn more about this markdown usage when you want to get started with this theme. Enjoy!
Lorem ipsum highlight
test class
Let’s start with a informative paragraph. This text is bolded. But not this one! How about italic text? Cool right? Ok, let’s combine them together. Yeah, that’s right! I have code to highlight, so ThisIsMyCode()
. What a nice! Good people will hyperlink away, so here we go or http://www.example.com.
Let’s say you have text that you want to refer with a footnote, you can do that too! This is an example for the footnote number one 1. You can even add more footnotes, with link! 2
Start by doing what’s necessary; then do what’s possible; and suddenly you are doing the impossible. –Francis of Assisi
NOTE: This theme does NOT support nested blockquotes.
var s = "JavaScript syntax highlighting";
alert(s);
s = "Python syntax highlighting"
print s
def say_something():
theme = 4
str(theme)
print("hi")
return "something"
# comment
@my_decorator
def say_this():
print("saying")
return "saying"
say_this()
int points[] = primpoints(0,@primnum); // list of points in prim
// get @P of first and second point
vector p0 = point(0,'P',points[0]);
vector p1 = point(0,'P',points[1]);
vector axis = p0-p1;
float angle = ch('angle');
matrix3 rotm = ident();
rotate(rotm, angle, axis);
// get midpoint of edge
vector pivot = (p0+p1)/2;
// move point to origin, rotate, move back
@P -= pivot;
@P *= rotm;
@P += pivot;
No language indicated, so no syntax highlighting.
But let's throw in a <b>tag</b>.
The theme comes ready with mathjax support built in, allowing for both simple inline equations like \(ax^2 + bx + c = 0\) and much more complex mathematical expressions such as equation \(\eqref{eq:sample}\) below.
\[\begin{align} \nabla \times \vec{\mathbf{B}} -\, \frac1c\, \frac{\partial\vec{\mathbf{E}}}{\partial t} &= \frac{4\pi}{c}\vec{\mathbf{j}} \\ \nabla \cdot \vec{\mathbf{E}} &= 4 \pi \rho \tag{2} \label{eq:sample}\\ \nabla \times \vec{\mathbf{E}}\, +\, \frac1c\, \frac{\partial\vec{\mathbf{B}}}{\partial t} &= \vec{\mathbf{0}} \\ \nabla \cdot \vec{\mathbf{B}} &= 0\\ \end{align}\]Tables | Are | Cool |
---|---|---|
col 3 is | right-aligned | $1600 |
col 2 is | centered | $12 |
zebra stripes | are neat | $1 |
Markdown | Less | Pretty |
---|---|---|
Still | renders |
nicely |
1 | 2 | 3 |
The HTML <hr>
element is for creating a “thematic break” between paragraph-level elements. In markdown, you can create a <hr>
with any of the following:
___
: three consecutive underscores---
: three consecutive dashes***
: three consecutive asterisksrenders to:
Footnote number one yeah baby! Long sentence test of footnote to see how the words are wrapping between each other. Might overflowww! ↩
A footnote you can link to - click here! ↩