mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
markup/goldmark: Add Position to CodeblockContext
But note that this is not particulary fast and the recommendad usage is error logging only. Updates #9574
This commit is contained in:
@@ -40,6 +40,7 @@ func (*Transformer) Transform(doc *ast.Document, reader text.Reader, pctx parser
|
||||
}
|
||||
|
||||
codeBlocks = append(codeBlocks, cb)
|
||||
|
||||
return ast.WalkContinue, nil
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user