
Use GoMark to turn your folder of markdown into a real website. Build documentation sites, product handbooks, and developer guides with nothing but markdown and a few lines of Go.
bash
gomark serve ./my-docsEverything you need to ship a polished documentation site comes built in, with defaults you can override when you're ready:
- Built-in HTTP server — no separate web framework to wire up
- File-based routing — your markdown tree is your URL structure
- Generated navigation — sidebar and top-level nav built from your folders
- Search out of the box — a ready-to-query endpoint at
/api/search - SEO on by default — generated
sitemap.xmlandrobots.txt - Built-in theme — a presentable, responsive site with zero frontend setup
- Runnable Go examples — optional runner integration for live code
Run real code examples#
main.go
package main
// Edit me then click "Run" to see the output!
func main() {
name := "GoMark"
println("Hello, " + name + "!")
}Get started with building your site.