
# Showing Off Blog Features
Table of Contents
Since the post does not have a description in the frontmatter, the first paragraph is used.
Theming
Use your favorite editor theme for your blog!
Theming for the website comes from builtin Shiki themes found in Expressive Code. You can view them here. A website can have one or more themes, defined in src/site.config.ts
. There are three theming modes to choose from:
single
: Choose a single theme for the website. Simple.light-dark-auto
: Choose two themes for the website to use for light and dark mode. The header will include a button for toggling between light/dark/auto. For example, you could choosegithub-dark
andgithub-light
with a default of"auto"
and the user’s experience will match their operating system theme straight away.select
: Choose two or more themes for the website and include a button in the header to change between any of these themes. You could include as many Shiki themes from Expressive Code as you like. Allow users to find their favorite theme!
When the user changes the theme, their preference is stored in
localStorage
to persist across page navigation.
Code Blocks
Let’s look at some code block styles:
def hello_world(): print("Hello, world!")
hello_world()
def hello_world(): print("Hello, world!")
hello_world()
python hello.py
Also some inline code: 1 + 2 = 3
. Or maybe even (= (+ 1 2) 3)
.
See the Expressive Code Docs for more information on available features like wrapping text, line highlighting, diffs, etc.
Basic Markdown Elements
- List item 1
- List item 2
Bold text
Italic text
Strikethrough text
In life, as in art, some endings are bittersweet. Especially when it comes to love. Sometimes fate throws two lovers together only to rip them apart. Sometimes the hero finally makes the right choice but the timing is all wrong. And, as they say, timing is everything.
- Gossip Girl
Name | Age | City |
---|---|---|
Alice | 30 | New York |
Bob | 25 | Los Angeles |
Charlie | 35 | Chicago |
Images
Images can include a title string after the URL to render as a <figure>
with a <figcaption>
.


I’ve also added a special tag for pixel art that adds the correct CSS to render properly. Just add #pixelated
to the URL.


Admonitions
:::notetesting123:::