diff options
Diffstat (limited to 'resources/page/page_nop.go')
-rw-r--r-- | resources/page/page_nop.go | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/resources/page/page_nop.go b/resources/page/page_nop.go index 8946926a2..c04c019fe 100644 --- a/resources/page/page_nop.go +++ b/resources/page/page_nop.go @@ -538,7 +538,14 @@ func (p *nopPage) HeadingsFiltered(context.Context) tableofcontents.Headings { type nopContentRenderer int -func (r *nopContentRenderer) RenderContent(ctx context.Context, content []byte, renderTOC bool) (converter.Result, error) { +func (r *nopContentRenderer) ParseAndRenderContent(ctx context.Context, content []byte, renderTOC bool) (converter.ResultRender, error) { b := &bytes.Buffer{} return b, nil } + +func (r *nopContentRenderer) ParseContent(ctx context.Context, content []byte) (converter.ResultParse, bool, error) { + return nil, false, nil +} +func (r *nopContentRenderer) RenderContent(ctx context.Context, content []byte, doc any) (converter.ResultRender, bool, error) { + return nil, false, nil +} |