markup/highlight: Rework the return value from HighlightCodeblock
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sun, 27 Feb 2022 16:57:28 +0000 (17:57 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sun, 27 Feb 2022 18:51:40 +0000 (19:51 +0100)
commit3ad39001df84c01a5da8ec7e008ee3835e1a7c4e
treefe9d125324fdf291d13bf0f65f158824cff46d40
parent39261b689e47116de5cfd3bee6b6e3af57deb97c
markup/highlight: Rework the return value from HighlightCodeblock

To make it possible to render it with a custom HTML ("<div>")  wrapper.

Updates #9573
markup/goldmark/codeblocks/integration_test.go
markup/highlight/highlight.go