diff options
author | Bjørn Erik Pedersen <[email protected]> | 2019-08-16 15:55:03 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2019-11-06 19:09:08 +0100 |
commit | 5f6b6ec68936ebbbf590894c02a1a3ecad30735f (patch) | |
tree | f6c91e225a3f24f51af1bde5cfb5b88515d0665d /deps | |
parent | 366ee4d8da1c2b0c1751e9bf6d54638439735296 (diff) | |
download | hugo-5f6b6ec68936ebbbf590894c02a1a3ecad30735f.tar.gz hugo-5f6b6ec68936ebbbf590894c02a1a3ecad30735f.zip |
Prepare for Goldmark
This commmit prepares for the addition of Goldmark as the new Markdown renderer in Hugo.
This introduces a new `markup` package with some common interfaces and each implementation in its own package.
See #5963
Diffstat (limited to 'deps')
-rw-r--r-- | deps/deps.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/deps.go b/deps/deps.go index aaed900e5..d7b381ce9 100644 --- a/deps/deps.go +++ b/deps/deps.go @@ -223,7 +223,7 @@ func New(cfg DepsCfg) (*Deps, error) { return nil, err } - contentSpec, err := helpers.NewContentSpec(cfg.Language) + contentSpec, err := helpers.NewContentSpec(cfg.Language, logger, ps.BaseFs.Content.Fs) if err != nil { return nil, err } @@ -277,7 +277,7 @@ func (d Deps) ForLanguage(cfg DepsCfg, onCreated func(d *Deps) error) (*Deps, er return nil, err } - d.ContentSpec, err = helpers.NewContentSpec(l) + d.ContentSpec, err = helpers.NewContentSpec(l, d.Log, d.BaseFs.Content.Fs) if err != nil { return nil, err } |