diff --git a/html.go b/html.go index e3d1b2b..d8a681e 100644 --- a/html.go +++ b/html.go @@ -125,10 +125,6 @@ func (w *HTMLWriter) Newline() { w.WriteByte('\n') } -func (r *HTML) Write(b []byte) (int, error) { - return r.w.Write(b) -} - // NewHTMLRenderer creates and configures an HTML object, which // satisfies the Renderer interface. func NewHTMLRenderer(params HTMLRendererParameters) Renderer { diff --git a/latex.go b/latex.go index 21a5d0d..c2ae9cf 100644 --- a/latex.go +++ b/latex.go @@ -36,10 +36,6 @@ func NewLatexRenderer(flags int) Renderer { } } -func (r *Latex) Write(b []byte) (int, error) { - return r.w.Write(b) -} - // render code chunks using verbatim, or listings if we have a language func (r *Latex) BlockCode(text []byte, lang string) { if lang == "" { diff --git a/markdown.go b/markdown.go index 2783381..f442e0c 100644 --- a/markdown.go +++ b/markdown.go @@ -212,8 +212,6 @@ type Renderer interface { DocumentHeader() DocumentFooter() - Write(b []byte) (int, error) - Render(ast *Node) []byte }