diff options
Diffstat (limited to 'themes/emily_zola_theme/content/post')
4 files changed, 116 insertions, 0 deletions
diff --git a/themes/emily_zola_theme/content/post/_index.md b/themes/emily_zola_theme/content/post/_index.md new file mode 100644 index 0000000..c7904ac --- /dev/null +++ b/themes/emily_zola_theme/content/post/_index.md @@ -0,0 +1,7 @@ ++++ +sort_by = "date" +template = "post.html" +page_template = "post-page.html" +[extra] +math = false ++++
\ No newline at end of file diff --git a/themes/emily_zola_theme/content/post/markdown_syntax_guide.md b/themes/emily_zola_theme/content/post/markdown_syntax_guide.md new file mode 100644 index 0000000..8e74f7a --- /dev/null +++ b/themes/emily_zola_theme/content/post/markdown_syntax_guide.md @@ -0,0 +1,70 @@ ++++ +title = "Markdown Syntax Guide" +date = 2021-01-02 +[taxonomies] +categories = ["code"] +tags = ["markdown"] ++++ + +### Headings +The following HTML `<h1>—<h6>` elements represent six levels of section headings. `<h1>` is the highest section level while `<h6>` is the lowest. + +# H1 +## H2 +### H3 +#### H4 +##### H5 +###### H6 + +### Paragraph +Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat. + +Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat. + +### Blockquotes +> Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? + +### Code + +`inline code block` + +```rust +use std::io; + +fn main() { + println!("Guess the number!"); + + println!("Please input your guess."); + + let mut guess = String::new(); + + io::stdin() + .read_line(&mut guess) + .expect("Failed to read line"); + + println!("You guessed: {}", guess); +} +``` + + +### Tables + +First Header | Second Header +------------ | ------------- +Content from cell 1 | Content from cell 2 +Content in the first column | Content in the second column + +### List Types +#### Ordered List +1. First item +2. Second item +3. Third item + +#### Unordered List +- List item +- Another item +- And another item + - orange + - apple + - banana + - watermelon
\ No newline at end of file diff --git a/themes/emily_zola_theme/content/post/mathjax_support.md b/themes/emily_zola_theme/content/post/mathjax_support.md new file mode 100644 index 0000000..709d27c --- /dev/null +++ b/themes/emily_zola_theme/content/post/mathjax_support.md @@ -0,0 +1,30 @@ ++++ +title = "MathJax Support" +date = 2021-01-03 +[taxonomies] +categories = ["math"] +tags = ["Euler's identity"] +[extra] +math = true ++++ + +**Please add the following lines in the front matter when using MathJax.** + +``` +[extra] +math = true +``` + +--- + +#### Euler's identity + +$e^{i\pi }+1=0$ + +#### Geometric interpretation + +Any complex number $z=x+iy$ can be represented by the point $(x,y)$ on the complex plane. This point can also be represented in polar coordinates as $(r,\theta )$, where $r$ is the absolute value of $z$ (distance from the origin), and $\theta$ is the argument of $z$ (angle counterclockwise from the positive x-axis). By the definitions of sine and cosine, this point has cartesian coordinates of $(r\cos \theta ,r\sin \theta )$, implying that $z=r(\cos \theta +i\sin \theta )$. According to Euler's formula, this is equivalent to saying $z=re^{i\theta}$. + +Euler's identity says that $-1=e^{i\pi }$. Since $e^{i\pi }$ is $re^{i\theta }$ for $r$ = 1 and $\theta =\pi$ , this can be interpreted as a fact about the number −1 on the complex plane: its distance from the origin is 1, and its angle from the positive x-axis is $\pi$ radians. + +[Euler's identity \- Wikipedia](https://en.wikipedia.org/wiki/Euler%27s_identity)
\ No newline at end of file diff --git a/themes/emily_zola_theme/content/post/welcome_to_emily.md b/themes/emily_zola_theme/content/post/welcome_to_emily.md new file mode 100644 index 0000000..64c0eac --- /dev/null +++ b/themes/emily_zola_theme/content/post/welcome_to_emily.md @@ -0,0 +1,9 @@ ++++ +title = "Welcome to emily, a KISS theme for Zola" +date = 2020-12-31 +[taxonomies] +categories = ["code"] +tags = ["rust"] ++++ + +Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. |