diff options
Diffstat (limited to 'config/_default/config.toml')
-rw-r--r-- | config/_default/config.toml | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/config/_default/config.toml b/config/_default/config.toml index db638ad1..8e9b871b 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -47,13 +47,16 @@ ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", " mediaType = "application/manifest+json" rel = "manifest" -# Configure BlackFriday Markdown rendering. -# See: https://gohugo.io/getting-started/configuration/#configure-blackfriday -[blackfriday] - hrefTargetBlank = true # `true` opens external links in a new tab. See https://github.com/gohugoio/hugo/issues/2424 - angledQuotes = false - latexDashes = true - extensions = ["backslashLineBreak"] +[markup] + defaultMarkdownHandler = "goldmark" + [markup.goldmark] + [markup.goldmark.renderer] + unsafe = true # Enable user to embed HTML snippets in Markdown content. + [markup.highlight] + codeFences = false # Disable Hugo's code highlighter as it conflicts with Academic's highligher. + [markup.tableOfContents] + startLevel = 2 + endLevel = 3 [imaging] resampleFilter = "lanczos" |