mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-02 22:52:51 +02:00
@@ -51,7 +51,6 @@ func (p provider) New(cfg converter.ProviderConfig) (converter.Provider, error)
|
||||
cfg: cfg,
|
||||
}, nil
|
||||
}), nil
|
||||
|
||||
}
|
||||
|
||||
type mmarkConverter struct {
|
||||
@@ -74,7 +73,6 @@ func getHTMLRenderer(
|
||||
ctx converter.DocumentContext,
|
||||
cfg blackfriday_config.Config,
|
||||
pcfg converter.ProviderConfig) mmark.Renderer {
|
||||
|
||||
var (
|
||||
flags int
|
||||
documentID string
|
||||
@@ -99,7 +97,6 @@ func getHTMLRenderer(
|
||||
Config: pcfg,
|
||||
Renderer: mmark.HtmlRendererWithParameters(htmlFlags, "", "", renderParameters),
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func getMmarkExtensions(cfg blackfriday_config.Config) int {
|
||||
|
@@ -29,7 +29,7 @@ import (
|
||||
func TestGetMmarkExtensions(t *testing.T) {
|
||||
b := blackfriday_config.Default
|
||||
|
||||
//TODO: This is doing the same just with different marks...
|
||||
// TODO: This is doing the same just with different marks...
|
||||
type data struct {
|
||||
testFlag int
|
||||
}
|
||||
|
Reference in New Issue
Block a user