Welcome to SITE 420
!
This is a post that checks how each markup element is rendered.
This is where the post summary ends.
Code block:
#!/usr/bin/python3
class HelloPrinter:
def __init__(self, thing):
self.thing = thing
def __call__(self):
print(f"Hello, {self.thing}!")
printer = HelloPrinter("World")
printer()
# prints: Hello, World!
Inline code: print("Hello world!")
.
Basic typography:
Italic text. Bold text. Italic bold. Link: click me
Heading 2
Heading 3
Heading 4
Quote:
"Theory is when you know everything but nothing works. Practice is when everything works but no one knows why. In our lab, theory and practice are combined: nothing works and no one knows why."
Euler's identity: $e^{\pi i} + 1 = 0$
$$ \rho \left( \frac{\partial \vec{u}}{\partial t} + \vec{u} \cdot \nabla \vec{u} \right) = -\nabla p + \mu \nabla^2 \vec{u} + \rho \vec{g} $$
Lists:
A
B
CDEF
Nested Item
- And more nesting
GHIJ
One
Two
Three
Horizontal line:
The second part follows here.
Shortcodes
figure
shortcode:
figure(src="http://rustacean.net/assets/rustacean-flat-gesture.png",
style="width: 25%;",
position="center",
caption_position="left",
caption="**Ferris**, the (unofficial) Rust mascot",
caption_style="font-weight: bold; font-style: italic;")
{{ figure(src="http://rustacean.net/assets/rustacean-flat-gesture.png", style="width: 25%;", position="center", caption_position="left", caption="Ferris, the (unofficial) Rust mascot", caption_style="font-style: italic;") }}
image
shortcode:
image(src="https://upload.wikimedia.org/wikipedia/commons/3/35/Tux.svg",
position="left")
Sincerely,