Closed nyiyui closed 1 year ago
Works A-OK. In my experience yuin's implementation works far better than blackfriday and it's also very well maintained. One slight downside is the binary size is greater (see below). I think it's worth the tradeoff. Worth mentioning the current import (github.com/slimsag/blackfriday) has a malformed go.mod file. See https://github.com/hexops/vecty/issues/305.
I'll update the readme next to reflect the size changes: wasm:3.6M->5.9M, gz:1010k->1.37M, brotli: 745k->952k
Thank you @nyiyui for your contribution!
Goldmark is CommonMark compliant, and this is the same (or similar) reason it is being used in Hugo.