markup/goldmark: Add Position to CodeblockContext
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sat, 26 Feb 2022 11:52:06 +0000 (12:52 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sat, 26 Feb 2022 20:54:36 +0000 (21:54 +0100)
commit928a89696273b1a5defa0e85115c9bd0e167cbf0
tree3c9eb330385a01e230036dc018817cb50e65cbef
parent2e54c009331dc8c6260d16a55d4a13cfff55054d
markup/goldmark: Add Position to CodeblockContext

But note that this is not particulary fast and the recommendad usage is error logging only.

Updates #9574
hugolib/page__per_output.go
hugolib/site.go
markup/converter/converter.go
markup/converter/hooks/hooks.go
markup/goldmark/codeblocks/integration_test.go
markup/goldmark/codeblocks/render.go
markup/goldmark/codeblocks/transform.go