Skip to content

Commit

Permalink
update Hugo version, add markdownlint version, and use goldmark for m…
Browse files Browse the repository at this point in the history
…arkup (#99)
  • Loading branch information
sallylanda6 authored Sep 13, 2022
1 parent 7b6296b commit a13d7d9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ciworkflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ jobs:
# Runs markdownlint
- name: Run markdown linter
run: |
npm i -g markdownlint-cli
npm i -g markdownlint-cli@0.31.1
markdownlint "content/en/**/*.md"
4 changes: 2 additions & 2 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ blog = "/:section/:year/:month/:day/:slug/"

## Markup config
[markup]
defaultMarkdownHandler = "blackFriday"
#defaultMarkdownHandler = "blackFriday" # goldmark is the default

[markup.blackFriday]
plainIDAnchors = true
Expand All @@ -47,7 +47,7 @@ blog = "/:section/:year/:month/:day/:slug/"

[markup.goldmark]
[markup.goldmark.renderer]
#unsafe = true #this overrides the default setting of false
unsafe = true #this overrides the default setting of false and allows goldmark to render HTML as Markdown

# Image processing configuration.
[imaging]
Expand Down
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ command = "bash build.sh -n"

# "production" environment specific build settings
[build.environment]
HUGO_VERSION = "0.66.0"
HUGO_VERSION = "0.101.0"

[context.production.environment]
HUGO_ENV = "production"
Expand Down

0 comments on commit a13d7d9

Please sign in to comment.