Lorem Ipsum 🧠

| ⌛ 4 minutes read


Lorem Ipsum

If you found this on the live website, congratulations! You found an easter egg! 🥚 🎉

Header 2

This page is a lorem ipsum-esque page to test the core functionality of the website and to do regression testing1…

Header 3

Let’s see bold characters, also italics as well as both types.
When a mistake is made, we strikethrough it!
We can also inline monospace font in our sentences.

Math

This is enabled with Katex scripts being imported.

$\sin(x) = \cos(x-\frac{\pi}{2})$

Code

0
1
2
3
4
5
6
import fmt
// Go is a blazingly fast language...
// ...if you discount the runtime
go func add(a, b int, magic int) int {
    fmt.Println("Magic number is... %d", magic)
    return a + b
}

Shortcode Showcase

Spoiler

If we need to hide something, we have a spoiler feature !

If we have many things to hide,
we can hide multiple lines
but with very basic formatting.

Expandable

Expandable Stuff

Expandable Building Block

The expandable shortcode is the building block for more interactive components.
It can also render other shortcodes like your ususal images:

Hidden stuff like spoilers , and formatted text like math:
$\lim_x \rarr 5$, and even code:

0
1
2
fn foo() -> i32 {
    1+1
}

Quiz

To make things interactive, I also made a quiz shortcode…

The secret to the universe

What is the answer to life, the universe, and everything?

Useless code (irrelevant to the question):

0
1
2
3
4
while True:
    if rand() % MAGIC == TARGET:
        break
    else:
        print("What is the upper bound for this algorithm?")

I like to 🧇 around with code!


Answer:

B. The explanation is left as an exercise to the reader.

Images

Images speak a thousand words.

A sample image

Tooltip

Sometimes, we want to give hints Insert tip here 🍚 ​ to the person reading.

Others

Other shortcodes require content to be passed in as an argument, or aren’t that extensible. These are the typewriter and toggleable stuff you see in my /about page.

That’s it for this mini-showcase. Enjoy your stay!


  1. In case something is borked! ↩︎