Closed tylermmorton closed 3 weeks ago
Fixed with https://github.com/gomarkdown/markdown/commit/6bc1ffdc6e8c00d315151dead024d04d45421384
Now CodeBlock.Info
will contain the whole line e.g. go main.go,readonly
(was parsing up to space, so before it would only be go
).
It's up to you to do further processing and e.g. split it into go
lang and main.go
, readonly
meta values.
Code blocks in markdown can have an optional meta field directly after the
lang
option: