Help

Usage of YYiki.

Navigation

Keyboard shortcuts

Grammar

Wikilinks

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 ```.

xy \frac{x}{y}

You can also do inline equations using $` and `$. For instance, $`x=y`$ produces x=yx=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