ae2a20b ←c58aa08antonApr 19, 2026 api

edit hello-world.md via macOS

M /docs/undefined +60 -0
✎ modified heading code examples
− deleted code block def greet(name): return f"hello, {name}!" print(greet("...
+ inserted paragraph syntax highlighting works across many languages.
+ inserted heading python
+ inserted code block def fibonacci(n): a, b = 0, 1 for _ in range(n): ...
+ inserted heading rust
+ inserted code block use std::collections::HashMap; fn word_count(text: &str) ->...
+ inserted heading typescript
+ inserted code block interface Config { baseUrl: string; title: string; mar...
+ inserted heading sql
+ inserted code block SELECT s.slug, COUNT(i.id) AS item_count, MAX(v.create...
M /docs/undefined +60 -0
11 unmodified lines
12- **bold** and *italic* text
13- [links](https://sublimated.com)
14- lists (like this one)
15
16### code blocks
16## code examples
17
18syntax highlighting works across many languages.
19
20### python
21
22```python
19def greet(name):
20 return f"hello, {name}!"
23def fibonacci(n):
24 a, b = 0, 1
25 for _ in range(n):
26 yield a
27 a, b = b, a + b
28
22print(greet("world"))
29for num in fibonacci(10):
30 print(num)
31```
32
25### blockquotes
33### rust
34
35```rust
36use std::collections::HashMap;
37
38fn word_count(text: &str) -> HashMap<&str, usize> {
39 let mut counts = HashMap::new();
40 for word in text.split_whitespace() {
41 *counts.entry(word).or_insert(0) += 1;
42 }
43 counts
44}
45
46fn main() {
47 let counts = word_count("hello world hello");
48 println!("{:?}", counts);
49}
50```
51
52### typescript
53
54```typescript
55interface Config {
56 baseUrl: string;
57 title: string;
58 markdown: {
59 highlighting?: { theme: string };
60 };
61}
62
63async function buildSite(config: Config): Promise<string[]> {
64 const pages = await loadContent(config.baseUrl);
65 return pages.map(page => renderTemplate(page, config));
66}
67```
68
69### sql
70
71```sql
72SELECT
73 s.slug,
74 COUNT(i.id) AS item_count,
75 MAX(v.created_at) AS last_updated
76FROM sublimated.spaces s
77JOIN sublimated.items i ON i.space_id = s.id
78JOIN sublimated.versions v ON v.item_id = i.id
79WHERE s.visibility = 'public'
80GROUP BY s.slug
81ORDER BY last_updated DESC
82LIMIT 10;
83```
84
85## blockquotes
86
87> zola is a fast static site generator written in rust.
88> it compiles to a single binary with no dependencies.