Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/parsiya/Hugo-Octopress.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParsia Hakimian <parsiya@users.noreply.github.com>2021-02-15 22:47:00 +0300
committerGitHub <noreply@github.com>2021-02-15 22:47:00 +0300
commite1b3a5ca4e373bc1d9819a9cfe0d4d56468c3875 (patch)
treee9cdc1601be75710b6de53bf01affdcc1f748239 /sample-config.toml
parent3ffe614f8624b4859b89294d2b06b35e282908ff (diff)
Switch to markup and Goldmark (#69)
* switch to markdown markup in the config file * some minor changes in readme
Diffstat (limited to 'sample-config.toml')
-rwxr-xr-xsample-config.toml33
1 files changed, 14 insertions, 19 deletions
diff --git a/sample-config.toml b/sample-config.toml
index cbe99c8..375e9b8 100755
--- a/sample-config.toml
+++ b/sample-config.toml
@@ -13,23 +13,23 @@ theme = "hugo-octopress"
# Number of blog posts in each pagination page
paginate = 6
-# Code highlighting options
-# Hugo uses Chroma but names are the same as the old pygments highlighter
-
-# Highlight shortcode and code fences (```) will be treated similarly
-pygmentscodefences = true
-
-# Change highlight style here.
-# For a full list see: https://xyproto.github.io/splash/docs/all.html
-pygmentsStyle = "solarized-dark"
-
-# Other Chroma options can be added here (and in the highlight shortcode in the markdown file)
-# See list of supported options: https://gohugo.io/content-management/syntax-highlighting/#options
-# for example: pygmentsoptions = "linenos=true"
-
[permalinks]
post = "/blog/:year-:month-:day-:title/" # change the post URL to look like the old ones
+[markup]
+ # Default is startLevel 2 and endLevel 3, we want to render every heading
+ [markup.tableOfContents]
+ endLevel = 8
+ startLevel = 1
+ # set the Chroma highlighting options
+ # https://gohugo.io/getting-started/configuration-markup/#highlight
+ [markup.highlight]
+ style = "solarized-dark"
+ # if you want to keep using Blackfriday
+ # defaultMarkdownHandler = "blackfriday"
+ # [markup.blackFriday]
+ # hrefTargetBlank = true # open links in a new tab
+
[params]
# --- Start sidebar options ---
@@ -185,8 +185,3 @@ post = "/blog/:year-:month-:day-:title/" # change the post URL to look like the
Name = "About page"
URL = "/about"
weight = 2
-
-# # Blackfriday is Hugo's markdown engine. Options are at: https://gohugo.io/overview/configuration/#configure-blackfriday-rendering
-# [blackfriday]
-# hrefTargetBlank = true # open the external links in a new window
-# fractions = false