Changeset 52 in code
- Timestamp:
- Oct 23, 2021, 3:57:19 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/main.go
r48 r52 183 183 return err 184 184 } 185 v["content"] = string(blackfriday.Run([]byte(content))) 185 v["content"] = string(blackfriday.Run( 186 []byte(content), 187 blackfriday.WithExtensions(blackfriday.CommonExtensions|blackfriday.AutoHeadingIDs), 188 )) 186 189 if w == nil { 187 190 out, err := os.Create(filepath.Join(PUBDIR, renameExt(path, "", ".html")))
Note:
See TracChangeset
for help on using the changeset viewer.