mirror of
https://github.com/rwinkhart/glamour-temp-MUTN.git
synced 2026-09-06 08:57:14 -04:00
Remove header/footer functions from blackfriday
This commit is contained in:
@@ -16,7 +16,6 @@ import (
|
|||||||
"github.com/yuin/goldmark/parser"
|
"github.com/yuin/goldmark/parser"
|
||||||
"github.com/yuin/goldmark/renderer"
|
"github.com/yuin/goldmark/renderer"
|
||||||
"github.com/yuin/goldmark/util"
|
"github.com/yuin/goldmark/util"
|
||||||
bf "gopkg.in/russross/blackfriday.v2"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type Options struct {
|
type Options struct {
|
||||||
@@ -205,14 +204,6 @@ func (tr *TermRenderer) renderNode(w util.BufWriter, source []byte, node ast.Nod
|
|||||||
return ast.WalkContinue, nil
|
return ast.WalkContinue, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// RenderHeader renders the markdown's header.
|
|
||||||
func (tr *TermRenderer) RenderHeader(w io.Writer, ast *bf.Node) {
|
|
||||||
}
|
|
||||||
|
|
||||||
// RenderFooter renders the markdown's footer.
|
|
||||||
func (tr *TermRenderer) RenderFooter(w io.Writer, ast *bf.Node) {
|
|
||||||
}
|
|
||||||
|
|
||||||
func isChild(node ast.Node) bool {
|
func isChild(node ast.Node) bool {
|
||||||
if node.Parent() == nil {
|
if node.Parent() == nil {
|
||||||
return false
|
return false
|
||||||
|
|||||||
Reference in New Issue
Block a user