The big old test page

Fancy Subtitle

Table of Contents

New features #

Emoji #

Powered by Noto Emoji font.

We really like cats. Yes, they are fluffy and happy. 🐈🐱

🪷🫶🤍😊💀🔥

Button #

{{< button
style="primary"
icon="🔄"
href="javascript:javascript:(function(){function checkFrames(w) {try {var inputs = w.document.getElementsByTagName('input');for (var i=0; i < inputs.length; i++) {if (inputs[i].type && inputs[i].type == 'checkbox'){inputs[i].checked = !inputs[i].checked;}}} catch (e){}if(w.frames && w.frames.length>0){for(var i=0;i<w .frames.length;i++){var fr=w.frames[i];checkFrames(fr);}}}checkFrames(window);})()"
>}}
Toggle all notes
{{< /button >}}

Cols (with lang option) #

Certain things do not work with this shortcode layout, for example, Markdown’s default footnote (like [^1]).

我是一个懒人。 这是一个边注。在屏幕很小的时候,它有一个可以点击展开的按钮。 您可以在 config.yaml 中修改全站按钮默认设置,也可以使用 ind 选项为每一个边注单独设置按钮。 在这个版本中,我提升了可访问性,但不包括用不了 :has 的火狐

But sometimes you just have to get your hands dirty.

This is the joy and the curse of a programmer. (1)Sidenote numbers are consistent across the whole page. Good numbers.

さらに、なんと!日本語もいけます。 (2)読めないのか?私は大丈夫だが。

{{< cols "zh-Hans,en,ja" >}}
我是一个懒人。{{< marginnote >}}这是一个边注。{{< /marginnote >}}
||
But sometimes you just have to get your hands dirty.{{< sidenote >}}Good numbers.{{< /sidenote >}}
||
読めないのか?私は大丈夫だが。
{{< /cols >}}

YouTube-nocookie #

Never again click things in the video accidentally and it opens YouTube. Oh no.

{{< youtube id="YslQ2625TR4" title="iPhone Resolution by Edward Tufte" >}}

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. (3)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.

Shawn O'Hare, Math is Fun, p.8
{{< 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 $ (4)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:

The image title. This is the image caption. Image attribution. Image
{{< 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. alt The image title. This is the image caption. Image attribution. 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:

  1. Has type="margin; or
  2. Has caption; or
  3. Has attr.
{{< figure
  src="https://github.com/edwardtufte/tufte-css/raw/gh-pages/img/rhino.png"
  type="margin"
  title="The image title"
  caption="This is the image caption."
  attr="[Image attribution](https://edwardtufte.github.io/tufte-css)"
  alt="alt"
  link="#"
>}}

Full-width figure:

Napoleonic wars
Napoleonic wars. This the image caption. Image attribution.
{{< 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==

Footnote1, footnote2


Lists #

  1. ol
  2. Ordered list
dl
dt
Description list

Code #

Inline code, `escape`, and keystroke

199
200
201
202
203
204
205
206
207
208
209
210
211
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 long comment.")
  return x + y
}

func main() {
  y := add(1, 2)
  log.Println(y)
}

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

#282a36
#f8f8f2

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}$

  1. The linked footnote appears at the end of the document. ↩︎

  2. New lines ↩︎