yuin / goldmark-highlighting

A Syntax highlighting extension for the goldmark markdown parser.
MIT License
100 stars 14 forks source link

Prepare for breaking changes introduced in alecthomas/chroma v0.10.0 #29

Closed jmooring closed 2 years ago

jmooring commented 2 years ago

Use span for .line, put code inside <code> https://github.com/alecthomas/chroma/commit/d6e61d3cbed4f2349d7720b29c14d44ea90ca10d

Put lines in a div & code lines in a span, Add WrapLongLines Option https://github.com/alecthomas/chroma/commit/5ed5054d7369706ea7c48993a254a833e194d289

yuin commented 2 years ago

I've merged PR #26. These changes will be applied in next version.