Skip to content

Commit

Permalink
missing config on org-cyf to match common-theme (CodeYourFuture#550)
Browse files Browse the repository at this point in the history
* common-theme is missing its config

so the markdown is escaping interior HTML and tabs are broken

* include markdown settings in local config

It seems like this should be totally inherited, but in CodeYourFuture#548 the bug doesn't scarper until I also include the settings here.

The vital setting is unsafe=true, but let's include it all
  • Loading branch information
SallyMcGrath authored Jan 25, 2024
1 parent 57078f4 commit f31d508
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions org-cyf/hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,21 @@ maxAge = 0
# This can be generated at https://github.com/settings/tokens?type=beta and needs read-only access to all public CYF GitHub repos.
getenv = ["^HUGO_CURRICULUM_GITHUB_BEARER_TOKEN$"]

[markup]
[markup.tableOfContents]
endLevel = 2
ordered = true
startLevel = 2
[markup.highlight]
lineNos = false
codeFences = true
guessSyntax = true
[markup.goldmark.renderer]
# Enable HTML codeblocks, e.g. for <details> blocks
unsafe = true
hardWraps = true
disableKinds = ["taxonomy", "term"]
footnote= true


theme = "common-theme"

0 comments on commit f31d508

Please sign in to comment.