package modules import ( "bytes" "html/template" "path" "strings" "github.com/yuin/goldmark" "github.com/yuin/goldmark/ast" "github.com/yuin/goldmark/extension" "github.com/yuin/goldmark/parser" "github.com/yuin/goldmark/text" ) // The options here mirror Hugo's goldmark defaults on purpose: GFM, // typographer, and automatic heading IDs. Same renderer, same extensions, // so a README renders identically to the same file on your blog. // // WithUnsafe is deliberately NOT set -- also Hugo's default. Anyone who can // push can write a README, so raw HTML in markdown is untrusted input; // goldmark drops it rather than passing a