summaryrefslogtreecommitdiffstats
path: root/markup/converter/converter.go
diff options
context:
space:
mode:
Diffstat (limited to 'markup/converter/converter.go')
-rw-r--r--markup/converter/converter.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/markup/converter/converter.go b/markup/converter/converter.go
index 30addfec6..dac0a6b73 100644
--- a/markup/converter/converter.go
+++ b/markup/converter/converter.go
@@ -128,9 +128,13 @@ type DocumentContext struct {
// RenderContext holds contextual information about the content to render.
type RenderContext struct {
- Src []byte
+ // Src is the content to render.
+ Src []byte
+
+ // Whether to render TableOfContents.
RenderTOC bool
+ // GerRenderer provides hook renderers on demand.
GetRenderer hooks.GetRendererFunc
}