repos / pico

pico services - prose.sh, pastes.sh, imgs.sh, feeds.sh, pgs.sh
git clone https://github.com/picosh/pico.git

commit
7a2ff35
parent
ba016c3
author
Eric Bower
date
2022-08-22 16:08:56 +0000 UTC
fix(mdparser): supply goldmark html config for ImgRenderer
1 files changed,  +1, -0
M shared/mdparser.go
+1, -0
1@@ -117,6 +117,7 @@ type ImgRender struct {
2 
3 func NewImgsRenderer(url func([]byte) []byte) renderer.NodeRenderer {
4 	return &ImgRender{
5+		Config: ghtml.NewConfig(),
6 		ImgURL: url,
7 	}
8 }