Create default link and image render hooks

Fixes #11933
This commit is contained in:
Bjørn Erik Pedersen
2024-01-30 11:43:20 +01:00
parent 80595bbe3e
commit 5b7cb258ec
15 changed files with 229 additions and 42 deletions

View File

@@ -25,6 +25,10 @@ type FileInfo interface {
Filename() string
}
type IsInternalTemplateProvider interface {
IsInternalTemplate() bool
}
type ParseInfo struct {
// Set for shortcode templates with any {{ .Inner }}
IsInner bool