livefir / fir

Build reactive html apps in Go

Home Page:https://livefir.fly.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CLI: new output is not buildable

gedw99 opened this issue · comments

commented

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
commented

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.