From a13d7d9d4c15bdebcdf9af35b7db0b60e3150f77 Mon Sep 17 00:00:00 2001 From: sallylanda6 Date: Tue, 13 Sep 2022 08:25:13 -0700 Subject: [PATCH] update Hugo version, add markdownlint version, and use goldmark for markup (#99) --- .github/workflows/ciworkflow.yml | 2 +- config.toml | 4 ++-- netlify.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ciworkflow.yml b/.github/workflows/ciworkflow.yml index 20dda53e..7d46d28f 100644 --- a/.github/workflows/ciworkflow.yml +++ b/.github/workflows/ciworkflow.yml @@ -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" diff --git a/config.toml b/config.toml index 61203d0f..dd80ef7f 100644 --- a/config.toml +++ b/config.toml @@ -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 @@ -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] diff --git a/netlify.toml b/netlify.toml index 15afafe1..33874117 100644 --- a/netlify.toml +++ b/netlify.toml @@ -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"