CLI: new output is not buildable
gedw99 opened this issue · comments
using https://github.com/livefir/fir/releases/tag/v0.3.5
cli new test01
cd test01
go mod init main
go mod tidy
go build .
/Users/apple/go/pkg/mod/github.com/livefir/fir@v0.3.5/markdown.go:332:44: undefined: extension.CJK
all the examples get the same markdown extension error on compile btw.
seems its CJK. i comment it out and things compile and run. In markdown.go:
extensions = append(extensions, extension.GFM)
//extensions = append(extensions, extension.CJK)
extensions = append(extensions, embed.New())
Thank you for bringing this up. It seems github.com/yuin/goldmark
was old. Updated it and released a new version v0.3.6 which should work now.