Welcome to Ergo, a svbtle inspired theme
- 383 words
- 2 min
This is a small example post of stuff you can do with the ergo
theme.
We'll try to represent all possible markdown and shortcode combinations here
so you can develop easily.
Here's some lists
- let's list some stuff
- unordered, of course.
- We can also order lists
- And nesting here works too
- We can do whatever we want!
- And drop back to the original indentation.
Headers
Smaller
Smaller still!
Can't really get much smaller than this
Even if you try
It won't do anything
We can also italicize stuff, or make it bold.
Code
Want some Rust code? We got Rust code.
// `vst` uses macros, so we'll need to specify that we're using them!
#[macro_use]
extern crate vst;
// We're implementing a trait `Plugin` that does all the VST-y stuff for us.
impl Plugin for Whisper {
fn get_info(&self) -> Info {
Info {
name: "Whisper".to_string()
}
}
}
We can also add a filename to our code blocks which is super useful when providing tutorials, etc. Here's some HTML we can insert into our markdown file right before the code block. (Meta, right?)
<div class='filename'>
<div>src/lib.rs</div>
</div>
If we want, we can also specify inline code
which is useful for the small stuff
.
Horizontal rules
We have them!
BlockQuotes
Language is a process of free creation; its laws and principles are fixed, but the manner in which the principles of generation are used is free and infinitely varied. Even the interpretation and use of words involves a process of free creation.
-- Noam Chomsky
Youtube
with yt(id="the_id_here")
Vimeo
with vm(id="id_here")
Links
Tables
You can make tables in markdown, too! Who would have thought. Are these styled yet?
First Header | Second Header |
---|---|
Content Cell | Content Cell |
Content Cell | Content Cell |
Foldable Text
Title 1
Content 1 Content 1 Content 1 Content 1 Content 1
Title 2
Content 2 Content 2 Content 2 Content 2 Content 2
We can do that like this:
<details>
<summary>Title 1</summary>
<p>Content 1 Content 1 Content 1 Content 1 Content 1</p>
</details>