diff options
Diffstat (limited to 'markup/converter/hooks/hooks.go')
-rw-r--r-- | markup/converter/hooks/hooks.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/markup/converter/hooks/hooks.go b/markup/converter/hooks/hooks.go index a8666bdf0..a59da939e 100644 --- a/markup/converter/hooks/hooks.go +++ b/markup/converter/hooks/hooks.go @@ -37,6 +37,12 @@ type LinkContext interface { PlainText() string } +type ImageLinkContext interface { + LinkContext + IsBlock() bool + Ordinal() int +} + type CodeblockContext interface { AttributesProvider text.Positioner |