+++ title = "hello world" date = 2026-04-19 [taxonomies] tags = ["demo", "markdown", "code"] +++
this is the first post on the zola demo site.
markdown features
standard markdown works as expected:
bold and italic text
lists (like this one)
code examples
syntax highlighting works across many languages.
python
def fibonacci(n):
a, b = 0, 1
for _ in range(n):
yield a
a, b = b, a + b
for num in fibonacci(10):
print(num)rust
use std::collections::HashMap;
fn word_count(text: &str) -> HashMap<&str, usize> {
let mut counts = HashMap::new();
for word in text.split_whitespace() {
*counts.entry(word).or_insert(0) += 1;
}
counts
}
fn main() {
let counts = word_count("hello world hello");
println!("{:?}", counts);
}typescript
interface Config {
baseUrl: string;
title: string;
markdown: {
highlighting?: { theme: string };
};
}
async function buildSite(config: Config): Promise<string[]> {
const pages = await loadContent(config.baseUrl);
return pages.map(page => renderTemplate(page, config));
}sql
SELECT
s.slug,
COUNT(i.id) AS item_count,
MAX(v.created_at) AS last_updated
FROM sublimated.spaces s
JOIN sublimated.items i ON i.space_id = s.id
JOIN sublimated.versions v ON v.item_id = i.id
WHERE s.visibility = 'public'
GROUP BY s.slug
ORDER BY last_updated DESC
LIMIT 10;blockquotes
zola is a fast static site generator written in rust. it compiles to a single binary with no dependencies.