diff options
Diffstat (limited to 'markup/converter/converter.go')
-rw-r--r-- | markup/converter/converter.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/markup/converter/converter.go b/markup/converter/converter.go index a4585bd03..b8a5c92c1 100644 --- a/markup/converter/converter.go +++ b/markup/converter/converter.go @@ -87,6 +87,11 @@ type TableOfContentsProvider interface { TableOfContents() tableofcontents.Root } +// AnchorNameSanitizer tells how a converter sanitizes anchor names. +type AnchorNameSanitizer interface { + SanitizeAnchorName(s string) string +} + // Bytes holds a byte slice and implements the Result interface. type Bytes []byte |