Skip to content

Commit

Permalink
Clean up the markup config
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed May 31, 2020
1 parent c3e1231 commit 9be494d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 14 deletions.
8 changes: 0 additions & 8 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,6 @@ pattern = "2006"
[social]
twitter = "GoHugoIO"

# MARKDOWN
## Configuration for BlackFriday markdown parser: https://github.com/russross/blackfriday
[blackfriday]
plainIDAnchors = true
# See https://github.com/gohugoio/hugo/issues/2424
hrefTargetBlank = false
angledQuotes = false
latexDashes = true

[imaging]
# See https://github.com/disintegration/imaging
Expand Down
6 changes: 0 additions & 6 deletions config/_default/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@ pluralizeListTitles = false
# We do redirects via Netlify's _redirects file, generated by Hugo (see "outputs" below).
disableAliases = true

[markup]
[markup.highlight]
style = "trac"
lineNumbersInTable = true
noClasses = false

[outputs]
home = [ "HTML", "RSS", "REDIR", "HEADERS" ]
section = [ "HTML", "RSS"]
Expand Down
7 changes: 7 additions & 0 deletions config/_default/markup.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
defaultMarkdownHandler = "goldmark"

[highlight]
style = "trac"
lineNumbersInTable = true
noClasses = false

0 comments on commit 9be494d

Please sign in to comment.