Table of Contents
the ToC will grow/shrink with your content, and if it gets too big it'll just overflow into a scroll bar. you can mess with sizes in the css, although it might be a little gross!
look how long this subsection title is!
see? cool!
Code Blocks
Code snippets can have filename annotations with the annotation shortcode!
1 fn main() { 2 // you can number and highlight lines! 3 // won't highlight this one :( 4 // using `linenos` and `hl_lines=n` 5 println!("hello world!"); 6 } </div>
Blocky Lil Guys
Asides
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus semper, purus sit amet imperdiet dictum, risus diam blandit justo, at dignissim tortor dui sit amet magna. Cras vestibulum maximus nisl ut pharetra. Nullam dignissim auctor euismod. Aenean ut imperdiet diam, sit amet pellentesque ex. Ut sit amet arcu rhoncus, pulvinar mi finibus, aliquam ligula.
Callouts
callouts are cool too!
info
asides are scrollable :)
note
callouts will expand as much as they can without conflicting with asides!
callouts have other cool features, like...
- inline markdown!!!! this was the coolest 4 me
- that's it lol
Donec accumsan nulla at enim maximus, ac hendrerit elit bibendum. Aenean vitae felis lorem. Nunc in tristique sem, nec semper lorem. Cras ultrices eget justo id ullamcorper. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae;
Definitions
definitions are highlighted like this! it uses a regular old definition list under the hood for that sweet sweet semantic goodness
- Distributed System
- a system that's distributed!
a definition in /static/definitions.toml can be referenced like this: distributed system
Math
math is enabled under the [extra] options in the front matter
+++ title = "Example Post" date = 2022-02-22 insert_anchor_links = true [extra] mathjax = true +++</div>
inline
inline \(a^3 + b^3 = c^3\) sick sick sick
block
\[ \int_{-\infty}^\infty \hat f(\xi),e^{2 \pi i \xi x} ,d\xi \]
aligned
\[ \begin{align} a + b &= c\\ a^2 + b^2 &= c^2 \end{align} \]
Third
Vivamus viverra augue dui, ac feugiat ligula venenatis vitae. Aliquam in risus consequat, iaculis urna nec, vehicula nisi. Aliquam vulputate varius luctus. Fusce eu nunc nec dui aliquam mattis. Fusce sit amet pellentesque tellus, et auctor elit. Duis eget risus at massa pulvinar feugiat.