Table of Contents
So, I guess I have a blog now! It uses Zola and is hosted on GitHub Pages. The theme is custom, but it is based on the Apollo theme. Plus Ayu-dark for codeblocks.
Here is my fork: Redux.
LaTeX
Inline Math
- $(a+b)^2$ = $a^2 + 2ab + b^2$
- A polynomial P of degree d over $\mathbb{F}_p$ is an expression of the form $P(s) = a_0 + a_1 . s + a_2 . s^2 + … + a_d . s^d$ for some $a_0,..,a_d \in \mathbb{F}_p$
Displayed Math
$$ p := (\sum_{k∈I}{c_k.v_k} + \delta_v.t(x))·(\sum_{k∈I}{c_k.w_k} + \delta_w.t(x)) − (\sum_{k∈I}{c_k.y_k} + \delta_y.t(x)) $$
Quote
The enjoyment of one’s tools is an essential ingredient of successful work.
- Donald Knuth
H1
H2
H3
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Aliquet sagittis id consectetur purus ut. In pellentesque massa placerat duis ultricies. Neque laoreet suspendisse interdum consectetur libero id. Justo nec ultrices dui sapien eget mi proin. Nunc consequat interdum varius sit amet mattis vulputate. Sollicitudin tempor id eu nisl nunc mi ipsum. Non odio euismod lacinia at quis. Sit amet nisl suscipit adipiscing. Amet mattis vulputate enim nulla aliquet porttitor lacus luctus accumsan. Sit amet consectetur adipiscing elit pellentesque habitant. Ac placerat vestibulum lectus mauris. Molestie ac feugiat sed lectus vestibulum mattis ullamcorper velit sed. Google
Code Block
fn main() {
println!("Hello World");
}
1 fn main() {
2 println!("Hello World");
3 }
Ordered List
- First item
- Second item
- Third item
Unordered List
- List item
- Another item
- And another item
Nested list
- Fruit
- Apple
- Orange
- Banana
- Dairy
- Milk
- Cheese
Table Inline Markdown
Italics | Bold | Code | StrikeThrough |
---|---|---|---|
italics | bold | code |
Foldable Text
Title 1
IT'S A SECRET TO EVERYBODY.
Title 2
Stay awhile, and listen!
Code tags
Lorem ipsum dolor
sit amet, consectetur adipiscing
elit.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Testing
Here is an example of the note
shortcode:
This one is static!
This blog assumes basic terminal maturity
This one is clickable!
The answer to the quiz!
Syntax:
{{ note(header="Note!", body="This blog assumes basic terminal maturity") }}
{{ note(clickable=true, header="Quiz!", body="The answer to the quiz!") }}
You can also use some HTML in the text:
This blog assumes basic terminal maturity
Literal shortcode:
{{ note(header="Note!", body="<h1>This blog assumes basic terminal maturity</h1>") }}
Pretty cool, right?
Finally, you can do something like this (hopefully):
Hello this is markdown inside a note shortcode
fn main() {
println!("Hello World");
}
We can’t call another shortcode inside a shortcode, but this is good enough.
Here is the raw markdown:
{{ note(clickable=true, header="Quiz!") }}
# Hello this is markdown inside a note shortcode
\`\`\`rust
fn main() {
println!("Hello World");
}
\`\`\`
We can't call another shortcode inside a shortcode, but this is good enough.
{{/* end */}}
It works good enough for me!