Theme Features Showcase
This page demonstrates the new theme features implemented all styled with a consistent gruvbox dark palette.
H1
H2
H3
H4
H5
- Item list
- Item List
- Nested
- Check box
- Check box
1. Code Blocks
These blocks support language headers, line numbers, and highlighted lines with syntax highlighting.
Basic Code Block with Line Numbers
1 def greet(name):
2 # Regular code block
3 print(f"Hello, {name}!")
4
5 if __name__ == "__main__":
6 greet("Terminus")
Code Block with Highlighted Lines
To highlight specific lines, use the hl_lines parameter with space-separated line numbers:
1 def greet(name):
2 # These lines are highlighted!
3 print(f"Hello, {name}!")
4
5 if __name__ == "__main__":
6 greet("Terminus")
2. Alerts (Shortcode)
INFO
This is an Information alert. It supports Markdown syntax like code and links.
Check this out!
Fully framed alert box.
DANGER
Danger! Something went wrong here.
3. Character Shortcodes
"Welcome to the blog! The character image is now correctly linked and displayed."
"And I can appear on the right side too, with a mirrored avatar!"
Quotes or Poems
Something something Bigger quote Multi line Lorem ipsum
Thanks for reading! Read other posts?