func (dr *debugRenderer) List(out *bytes.Buffer, text func() bool, flags int) { fmt.Println(gist6418290.GetParentFuncArgsAsString(flags)) debugText := func() bool { b := text() fmt.Println("text", gist6418290.GetParentFuncArgsAsString(), "->", b) return b } dr.real.List(out, debugText, flags) }
func (dr *debugRenderer) Paragraph(out *bytes.Buffer, text func() bool) { fmt.Println(gist6418290.GetParentFuncArgsAsString()) debugText := func() bool { b := text() fmt.Println("text", gist6418290.GetParentFuncArgsAsString(), "->", b) return b } dr.real.Paragraph(out, debugText) }
func (_ *debugRenderer) AutoLink(out *bytes.Buffer, link []byte, kind int) { fmt.Println(gist6418290.GetParentFuncArgsAsString(string(link), kind)) }
func (_ *debugRenderer) Footnotes(out *bytes.Buffer, text func() bool) { fmt.Println(gist6418290.GetParentFuncArgsAsString()) }
func (_ *debugRenderer) FootnoteItem(out *bytes.Buffer, name, text []byte, flags int) { fmt.Println(gist6418290.GetParentFuncArgsAsString(string(name), string(text), flags)) }
func (_ *debugRenderer) Table(out *bytes.Buffer, header []byte, body []byte, columnData []int) { fmt.Println(gist6418290.GetParentFuncArgsAsString(string(header), string(body), columnData)) }
func (_ *debugRenderer) TableCell(out *bytes.Buffer, text []byte, align int) { fmt.Println(gist6418290.GetParentFuncArgsAsString(string(text), align)) }
func (_ *debugRenderer) FootnoteRef(out *bytes.Buffer, ref []byte, id int) { fmt.Println(gist6418290.GetParentFuncArgsAsString(string(ref), id)) }
func (a debugAnnotator) Annotate(start int, kind syntaxhighlight.Kind, tokText string) (*annotate.Annotation, error) { fmt.Println(gist6418290.GetParentFuncArgsAsString(start, kind, tokText)) return a.Annotator.Annotate(start, kind, tokText) }
func (_ *debugRenderer) HRule(out *bytes.Buffer) { fmt.Println(gist6418290.GetParentFuncArgsAsString()) }
func (_ *debugRenderer) Link(out *bytes.Buffer, link []byte, title []byte, content []byte) { fmt.Println(gist6418290.GetParentFuncArgsAsString(string(link), string(title), string(content))) }
func (dr *debugRenderer) BlockQuote(out *bytes.Buffer, text []byte) { fmt.Println(gist6418290.GetParentFuncArgsAsString(string(text))) dr.real.BlockQuote(out, text) }
func (_ *debugRenderer) Header(out *bytes.Buffer, text func() bool, level int, id string) { fmt.Println(gist6418290.GetParentFuncArgsAsString(level, id)) }
func (dr *debugRenderer) BlockCode(out *bytes.Buffer, text []byte, lang string) { fmt.Println(gist6418290.GetParentFuncArgsAsString(string(text), lang)) dr.real.BlockCode(out, text, lang) }
func (dr *debugRenderer) GetFlags() int { fmt.Println(gist6418290.GetParentFuncArgsAsString()) return dr.real.GetFlags() }
func (dr *debugRenderer) Entity(out *bytes.Buffer, entity []byte) { fmt.Println(gist6418290.GetParentFuncArgsAsString(string(entity))) dr.real.Entity(out, entity) }
func (_ *debugRenderer) Emphasis(out *bytes.Buffer, text []byte) { fmt.Println(gist6418290.GetParentFuncArgsAsString(string(text))) }
func (dfs *debugFileSystem) ReadDir(path string) ([]os.FileInfo, error) { log.Println(gist6418290.GetParentFuncArgsAsString(path)) return dfs.real.ReadDir(path) }
func (dr *debugRenderer) LineBreak(out *bytes.Buffer) { fmt.Println(gist6418290.GetParentFuncArgsAsString()) dr.real.LineBreak(out) }
func (_ *debugRenderer) RawHtmlTag(out *bytes.Buffer, tag []byte) { fmt.Println(gist6418290.GetParentFuncArgsAsString(string(tag))) }
func (dfs *debugFileSystem) Open(name string) (vfs.ReadSeekCloser, error) { log.Println(gist6418290.GetParentFuncArgsAsString(name)) return dfs.real.Open(name) }
func (dr *debugRenderer) ListItem(out *bytes.Buffer, text []byte, flags int) { fmt.Println(gist6418290.GetParentFuncArgsAsString(string(text), flags)) dr.real.ListItem(out, text, flags) }
func (dfs *debugFileSystem) String() string { log.Println(gist6418290.GetParentFuncArgsAsString()) return dfs.real.String() }
func (p debugPrinter) Print(w io.Writer, kind syntaxhighlight.Kind, tokText string) error { fmt.Println(gist6418290.GetParentFuncArgsAsString(kind, tokText)) return p.Printer.Print(w, kind, tokText) }