Help

Usage of YYiki.

Keyboard shortcuts

• ?: Help page
• /: Search page (Press ESC to remove the search box)
• h: Home page
• c: Recent changes (reverse chronological order)
• e: Edit page

Grammar

Wikilinks work: [[Home]] create the link to the Home page in the wiki: Home

Codeblock

The following code block

    :::python
import pandas as pd


produces

import pandas as pd


How about long lines?

a_dict = dict([(x, y) for x in alist and y in another_list if x > 0 and y > 0])
print(a_dict)


It works for other languages

require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html


Equations

You can put equations via KaTeX. Put a LaTeX equation inside math and .

$\frac{x}{y}$

You can also do inline equations using $ and $. For instance, $x=y$ produces $x=y$.

Margin notes

Because it uses tufte.css, you can use the sidenoteWhich is a bit cumbersome to use. as well as the marginnoteThis is without the number..

<label for="mn-demo" class="margin-toggle">&#8853;</label>
<input type="checkbox" id="mn-demo" class="margin-toggle"/>
<span class="marginnote">Margin note test</span>


This code will produce a margin note like this. Margin note test.

And

This<label for="sn-demonstration" class="margin-toggle sidenote-number"</label>
<input type="checkbox" id="sn-demonstration" class="margin-toggle"/>
<span class="sidenote"> creates something like this.</span>


This

published: 2020-05-28 title: Help

Usage of YYiki.

Keyboard shortcuts

• ?: Help page
• /: Search page (Press ESC to remove the search box)
• h: Home page
• c: Recent changes (reverse chronological order)
• e: Edit page

Grammar

Wikilinks work: [[Home]] create the link to the Home page in the wiki: Home

Codeblock

To create a code block, use three back ticks (GitHub markdown). You can specify the language.

python
import pandas as pd


import pandas as pd


How about long lines?

a_dict = dict([(x, y) for x in alist and y in another_list if x > 0 and y > 0])
print(a_dict)


It works for other languages

require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html


Equations

You can put equations via KaTeX. Put a LaTeX equation inside math and .

$\frac{x}{y}$

$\frac{x}{y}$

You can also do inline equations using $ and $. For instance, $x=y$ produces $x=y$. $x=y$.

Margin notes

Because it uses tufte.css, you can use the sidenoteWhich is a bit cumbersome to use. as well as the marginnoteThis is without the number..

<label for="mn-demo" class="margin-toggle">&#8853;</label>
<input type="checkbox" id="mn-demo" class="margin-toggle"/>
<span class="marginnote">Margin note test</span>


This code will produce a margin note like this. Margin note test.

And

This<label for="sn-demonstration" class="margin-toggle sidenote-number"</label>
<input type="checkbox" id="sn-demonstration" class="margin-toggle"/>
<span class="sidenote"> creates something like this.</span>


This