Hello World
Table of contents
This is a placeholder post. You can delete content/posts/hello-world.md once
you have real content to publish.
Syntax highlighting
Code blocks use Hugo’s built-in Chroma highlighter with the friendly colour
scheme. Here’s a Go snippet to confirm it’s working:
package main
import "fmt"
func greet(name string) string {
return fmt.Sprintf("Hello, %s!", name)
}
func main() {
fmt.Println(greet("world"))
}
And a quick Python example for good measure:
def fibonacci(n: int) -> list[int]:
seq = [0, 1]
while len(seq) < n:
seq.append(seq[-1] + seq[-2])
return seq[:n]
print(fibonacci(10))
Both blocks should render with coloured syntax on the published site.
· 1 min read