Testing zone
Python:
def f(n):
return n**2
HTML:
<!DOCTYPE html>
<html lang="en">
<head>
<script>
// Just a lil’ script to show off that inline JS gets highlighted
window.console && console.log('foo');
</script>
<meta charset="utf-8" />
<link rel="icon" href="assets/favicon.png" />
<title>Prism</title>
<link rel="stylesheet" href="assets/style.css" />
<link rel="stylesheet" href="themes/prism.css" data-noprefix />
<script src="assets/vendor/prefixfree.min.js"></script>
<script>var _gaq = [['_setAccount', 'UA-33746269-1'], ['_trackPageview']];</script>
<script src="https://www.google-analytics.com/ga.js" async></script>
</head>
<body>
Some $\LaTeX$:
\begin{document}
\textbf{Hello world}
$$f(x) = \frac{x}{x-1}$$
\end{document}
\begin{document}
\textbf{Hello world}
$$f(x) = \frac{x}{x-1}$$
\end{document}
Markdown
**bold** *italics*
Mathjax done in a Markdown block:
$$x^2 + y^2 + z^2$$
A power series: $e^x = \sum_{n=0}^\infty \frac{x^n}{n!}$
Copy/pasting this outside the Markdown block:
$$x^2 + y^2 + z^2$$
A power series: $e^x = \sum_{n=0}^\infty \frac{x^n}{n!}$