all repos — grayfriday @ 98ddf9899707b54da904d2f654970fe466e3c0bb

blackfriday fork with a few changes

Get rid of unneeded method in Renderer
Vytautas Ĺ altenis vytas@rtfb.lt
Mon, 11 Apr 2016 11:12:41 +0300
commit

98ddf9899707b54da904d2f654970fe466e3c0bb

parent

24e146a72755339835b9ab8b482dae1138cafaca

3 files changed, 0 insertions(+), 10 deletions(-)

jump to
M html.gohtml.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 {
M latex.golatex.go

@@ -36,10 +36,6 @@ w: writer,

} } -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 == "" {
M markdown.gomarkdown.go

@@ -212,8 +212,6 @@ // Header and footer

DocumentHeader() DocumentFooter() - Write(b []byte) (int, error) - Render(ast *Node) []byte }