Hash Viewer
# Title or Header 1 > Hash Viewer lets you display and share Markdown, HTML, and rendered math (TeX) without any server side-components. It works by storing page content in the URL. > > — Matthew Wildrick Thomas ## Section (formatting) Write **bold**, *italic*, , ***bold italic***, ~~strikethrough~~, or
underline
(HTML). Escape: \*. Link: [a link](https://mwt.me) ### 1.1. Subsection Sections aren't auto-numbered. Number manually. #### ***Subsubsection (lists and code)*** Formatting also works in headings. Levels go down to `######`. Supported: * Tables * Math in TeX form with \$\$ * Environments for theorems, proofs, and definitions *Not* supported: 1. Footnotes 2. `{.class #id}` attributes * Use HTML instead 3. Code syntax highlighting Code blocks are supported, but look like ``` def f(x): return x**2 ``` --- #### ***Tables*** | Tables | Are | Supported | | ------------ | --------- | ------------- | | this table | cool | *italic* | | other tables | also cool | **bold** | | no tables | bad | ~~alignment~~ | --- #### ***Math*** Use display math: $$\int_0^1 f(x)\,dx = \lim_{n\to\infty} \sum_{t=1}^n f \left( \frac{t}{n} \right) \frac{1}{n}$$ Inline math is not supported (no need to escape $). Use display math. Inline can be hacked with \\\(x^2\\\), but at least one display block is required for MathJaX to load. --- #### ***Theorems and proofs***
The area of a unit right triangle can be calculated with the right hand rule from calculus, $$\int_0^1 x\,dx = \frac{1}{2}.$$
Recall for any continuous function, $$\int_0^1 f(x)\,dx = \lim_{n\to\infty} \sum_{t=1}^n f \left( \frac{t}{n} \right) \frac{1}{n}.$$ Then, $$\begin{align*} \int_0^1 x\,dx &= \lim_{n\to\infty} \sum_{t=1}^n \frac{t}{n} \frac{1}{n} \\ &= \lim_{n\to\infty} \frac{1}{n^2} \cdot \sum_{t=1}^n t \\ &= \lim_{n\to\infty} \frac{1}{n^2} \cdot \frac{n(n+1)}{2} \\ &= \lim_{n\to\infty} \frac{n^2 + n}{2n^2} \\ &= \lim_{n\to\infty} \left( \frac{1}{2} + \frac{1}{2n} \right) = \frac{1}{2}. \end{align*}$$
Clear
Small link
Submit