New features
Emoji
Some marginnotePowered by Noto Emoji font.
We really like cats. Yes, they are fluffy and happy. ππ±
πͺ·π«Άπ€πππ₯
Button
Tufte features
Marginnote and sidenote
This is what you came here for. This is a marginnote. It has no indicators on big screens. Be honest. (1) This is a sidenote! It has a little number.
Epigraph
This is an example of an epigraph with some math$ \mathbb N \subseteq \mathbb R $
to start the beginning of a section.
{{< epigraph author="Shawn O'Hare" cite="Math is Fun" detail="p.8" >}}
This is an example of an epigraph with some math
`$ \mathbb N \subseteq \mathbb R $`
to start the beginning of a section.
{{< /epigraph >}}
Blockquote
Some blockquotes. But first, we try to manually cite via
This is between cite tags and has math: $e^x $
(2)
Only use $\KaTeX{}$
, you must.
This is a blockquote with two paragraphs, that employs the
theme’s blockquote
shortcode. Lorem ipsum dolor sit amet,
consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
Donec sit amet nisl. Aliquam semper ipsum sit amet velit. Suspendisse id sem consectetuer libero luctus adipiscing. Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
{{< blockquote author="Shawn O'Hare" cite="www.shawnohare.com" >}}
This is a blockquote with two paragraphs, that employs the
theme's `blockquote` shortcode. Lorem ipsum dolor sit amet,
consectetuer adipiscing elit. Aliquam hendrerit mi posuere lectus.
Vestibulum enim wisi, viverra nec, fringilla in, laoreet vitae, risus.
...
{{< /blockquote >}}
Small-caps
Sometimes a new thought distinguishes a section, as here.
{{< newthought >}}Sometimes a new thought{{< /newthought >}}
Figure
Regular width figure:
{{< figure
src="https://github.com/edwardtufte/tufte-css/raw/gh-pages/img/exports-imports.png"
title="The image title"
label="mn-export-import"
caption="This is the image caption."
attr="[Image attribution](#)"
link="link"
>}}
Margin figure:
Margin figures appear on the margin. Highly logical.
Very importantly, they want some text to go with them, either before or after, with only one line break.
No worries if you forgot to give your figure a label
. Marginnote (either for figure or with figure inside) will be created if any one of the following conditions is met:
- Has
type="margin
; or - Has
caption
; or - Has
attr
.
Full-width figure:
{{< figure
src="https://github.com/edwardtufte/tufte-css/raw/gh-pages/img/napoleons-march.png"
type="full"
label="mn-napoleonic-wars"
title="Napoleonic wars"
caption="This the image caption."
attr="[Image attribution](#)"
alt="Napoleonic wars"
link="#"
>}}
Normal Markdown tests
Begin test fileβ¦
Formatting
Bold, bold, ε η²
Italic, italic, ζδ½
Underline, underline
Strike, strike, strike, strike, –strike–
Highlight, =highlight=, ==highlight==
Lists
ul
- Unordered list
ol
- Ordered list
dl
dt
- Description list
- Task list
- Task list
Code
Inline code
, `escape`
, and keystroke
|
|
Here’s an example without line numbers.
package main
import "log"
func add(x int, y int) int {
log.Println("We are going to take the sum of two numbers, and leave a very very very long comment.")
return x + y
}
func main() {
y := add(1, 2)
log.Println(y)
}
Font
ζθ½δ½γ«ε·γ€γγͺγγ§εδΈ 259 ml glassγ
Four score and seven years ago our fathers brought forth upon this continent, a new nation, conceived in Liberty, and dedicated to the proposition that all men are created equal.
0 Oo Ii Ll 1 | 2 Z 5 s 8 Bb 6 # * ^ ~ () {} [] . , : ; β β β `
0 Oo Ii Ll 1 | 2 Z 5 s 8 Bb 6 # * ^ ~ () {} [] . , : ; β β β `
Inline HTML
ref: https://burk.io/2020/let-there-be-dark
LaTeX & Table
$\LaTeX{}$
$$R_1 \begin{cases} >\mu_{2} \\ \leq \mu_{2} \end{cases}$$
Message to agent 1 | $M_1$ |
---|---|
Agent 1’s action | $a_1$ |
New finding | $R_1 \begin{cases} >\mu_{2} \\ \leq \mu_{2} \end{cases}$ |