Testing Hugo Syntax Highlighting
Hugo uses Chroma for syntax highlighting, so as I’m setting up the blog, this post will help make sure the code highlighting looks correct.
Python
def hello_world() -> str:
return "hello, world"
Haskell
module Main where
main = putStrLn "Hello, World!"
Go
package main
import "fmt"
func main() {
fmt.Println("hello world")
}