markup: Add blockquote render hooks

Closes #12590
This commit is contained in:
Bjørn Erik Pedersen
2024-08-05 16:51:16 +02:00
parent 4c162deb03
commit 665ac949bd
9 changed files with 453 additions and 2 deletions

View File

@@ -217,3 +217,10 @@ func (p *passthroughContext) Position() htext.Position {
})
return p.pos
}
// For internal use.
func (p *passthroughContext) PositionerSourceTarget() []byte {
return []byte(p.inner)
}
var _ hooks.PositionerSourceTargetProvider = (*passthroughContext)(nil)