Demonstration


Coding
Jun 22, 2025

Code Blocks

Inline Code Block

Text around (uix.dom/create-root (js/document.getElementById "root")) the inline code block.

Code Blocks

  • Java
public static int fib(int n) { 
    if (n <= 1) {
        return n;
    }
    return fib(n - 1) + fib(n - 2);
}
  • Clojure
(defui app [{:keys [initial-route]}]
  (let [[show-header? set-header!]
        (use-state
         (some #(= % initial-route)
               ["/" "/home.html" "/template.html"
                "/index.html"]))]
    (context-binding [*header-context* [show-header? set-header!]]
      ($ router/router {:routes routes :initial-route initial-route}
         ($ main {})))))
  • Emacs Lisp
(save-excursion                 
    (goto-char (point-min))    

H2 Sample Text

H3 Sample Text Sample Text

Some text in between

H4 Sample Text Sample Text

Some text in between

H5 Sample Text Sample Text

Some text in between

Common Elements

  • italic
  • bold
  • underline
  • verbatim
  • code
  • strike-through
  • Horizontal Rule
  • code

Other Elements

Table

Name Phone Age
Peter 1234 17
Anna 4321 25

Reference

Everything should be made as simple as possible, but not any simpler – Albert Einstein

Unordered List

  • Item 1
  • Item 2
    • Level 2
      • Level 3
        • Level 4
      • Another Mark
  • Item 3
Ordered List
  1. Item 1
  2. Item 2
  3. Item 3
  4. Item 4

Description List

Name
Description
Nested
Nested Description
Name
Description

Sample Image

1.jpg

Figure 1: This is an image

1.webp

photo-1746717410283-f4017128c38f?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb&dl=natalia-grela-sFINbLpdfqw-unsplash.jpg

Figure 2: sample high resolution vertical image

photo-1653384236127-c61634419fe0?ixlib=rb-4.1.0&q=85&fm=jpg&crop=entropy&cs=srgb&dl=johann-walter-bantz-Bp7hIvZnj9I-unsplash.jpg

Figure 3: sample high resolution horizontal iamge

Latex Test

Inline LaTeX

The magnitude \(v\) is given by \(||x|| = \sqrt{v^2_x + v^2_y + v^2_z}\) . Another way of writing this is \(d = \sqrt{x^2 + y^2 + z^2}\) where \(x = v_x, y=v_y, z=v_z\).