This post showcases all the markdown elements and how they appear in the LeakIX Dark Theme.

Headings

Third Level Heading

Fourth Level Heading

Fifth Level Heading
Sixth Level Heading

Text Formatting

This is a paragraph with bold text, italic text, bold and italic, strikethrough, and inline code.

External Link Internal Link Reference Link

Code Blocks

Python

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
def fibonacci(n):
    """Generate Fibonacci sequence"""
    a, b = 0, 1
    for _ in range(n):
        yield a
        a, b = b, a + b

# Usage
for num in fibonacci(10):
    print(num, end=' ')

JSON

1
2
3
4
5
6
7
8
9
{
  "theme": "LeakIX Dark",
  "version": "1.0.0",
  "features": {
    "darkMode": true,
    "search": true,
    "responsive": true
  }
}

Shell

1
2
3
4
5
6
# Install the theme
hugo new site mysite
cd mysite
git submodule add https://github.com/LeakIX/leakix-dark-theme themes/leakix-dark
echo 'theme = "leakix-dark"' >> config.toml
hugo server -D

Horizontal Rule


Task Lists

  • Create theme
  • Add dark mode
  • Implement search
  • Add more color schemes
  • Create documentation

Footnotes

This theme supports footnotes1 for additional context2.

Definition Lists

Hugo : A fast and flexible static site generator

LeakIX Dark Theme : A modern dark theme for Hugo with extensive features

Abbreviations

The HTML specification is maintained by the W3C.

_[HTML]: HyperText Markup Language _[W3C]: World Wide Web Consortium


  1. Footnotes are great for adding references without cluttering the main text. ↩︎

  2. They appear at the bottom of the page. ↩︎