- Timestamp:
- May 8, 2023, 9:10:36 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cmd/aya/main.go
r65 r66 1 // $TheSupernovaDuo: cmd/aya/main.go,v 0.5.x 2023/5/ 7 10:57:10yakumo_izuru Exp $1 // $TheSupernovaDuo: cmd/aya/main.go,v 0.5.x 2023/5/8 18:6:18 yakumo_izuru Exp $ 2 2 package main 3 3 … … 20 20 "github.com/eknkc/amber" 21 21 "github.com/yosssi/gcss" 22 "github.com/Depado/bfchroma/v2" 22 23 ) 23 24 … … 186 187 return err 187 188 } 188 v["content"] = string(blackfriday.Run( 189 []byte(content), 190 blackfriday.WithExtensions(blackfriday.CommonExtensions|blackfriday.AutoHeadingIDs), 189 v["content"] = string(blackfriday.Run([]byte(content), 190 blackfriday.WithExtensions(blackfriday.CommonExtensions|blackfriday.AutoHeadingIDs),blackfriday.WithRenderer(bfchroma.NewRenderer()), 191 191 )) 192 192 if w == nil {
Note:
See TracChangeset
for help on using the changeset viewer.