feat(blogo,renderer): built-in multirenderer support via plugin

This commit is contained in:
Guz
2025-01-13 09:31:50 -03:00
parent 40d8ae711a
commit 82e86e269a
3 changed files with 191 additions and 33 deletions

View File

@@ -16,7 +16,6 @@
package blogo
import (
"errors"
"io"
"io/fs"
)
@@ -25,8 +24,6 @@ type Plugin interface {
Name() string
}
var ErrRendererNotSupportedFile = errors.New("this file is not supported by renderer")
type RendererPlugin interface {
Plugin
Render(src fs.File, out io.Writer) error