Help
Usage of YYiki.
Navigation
Keyboard shortcuts
?
: Help page/
: Search page (PressESC
to remove the search box)h
: Home pagec
: Recent changes (reverse chronological order)e
: Edit page
Grammar
Wikilinks
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 by specifying the language.
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html
Equations
See also Equations
Put a LaTeX equation inside double dollar signs for a ‘display math’ item and single dollar signs for inline math.
You can also do inline equations using $ and $
. For instance, $x=y$
produces .
Margin notes
Because it uses tufte.css, you can use the sidenote
Which is a bit cumbersome to use. as well as the marginnote
This is without the number..
<label for="mn-demo" class="margin-toggle">⊕</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<label for=”sn-demonstration” class=”margin-toggle sidenote-number”creates something like this.
Tips
Images
You can change the size of the displayed image by putting the number after “|” in the alt-text.
![alt text|400](url)