diff options
Diffstat (limited to 'config.toml')
-rw-r--r-- | config.toml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/config.toml b/config.toml index 4d97c77..978dda7 100644 --- a/config.toml +++ b/config.toml @@ -21,3 +21,39 @@ theme = "hugo-pt2021" posts = "/:year/:month/:day/:slug" articles = "/articles/:slug" projects = "/:slug" + +[markup] + [markup.tableOfContents] + startLevel = 2 + endLevel = 4 + ordered = false + + # set chrome syntax highlighting; use all defaults except + # for one directive: + # + # noClasses = false + # + # This tells chroma to use classes instead of inline styles + # for syntax highlighting. + # + # After that I ran `hugo genchromaclasses` to generate a static + # stylesheet for chroma: + # + # hugo gen chromaclasses --style=monokai > \ + # themes/hugo-pt2021/assets/chroma.css + # + # And finally, I imported chroma.css into my style.sass: + # + # / + [markup.highlight] + anchorLineNos = false + codeFences = true + guessSyntax = false + hl_Lines = '' + lineAnchors = '' + lineNoStart = 1 + lineNos = false + lineNumbersInTable = true + noClasses = false + style = 'monokai' + tabWidth = 4 |