feat: enable Hugo v0.122 native math passthrough by default

Requires Hugo v0.122.0+
This commit is contained in:
George Cushen committed 2024-01-28 18:37:58 +00:00
1 parent 0d7b68fcb5
commit 3fb9b2e11a
2 files changed
+16 -2

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ jobs:
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.120.4'
hugo-version: '0.122.0'
extended: true
- name: Build
+15 -1
View File
@@ -7,6 +7,20 @@ markup:
attribute:
block: true
title: true
extensions:
passthrough:
enable: true
delimiters:
block:
- - \[
- \]
- - $$
- $$
inline:
- - \(
- \)
- - $
- $
highlight:
codeFences: true
noHl: false
@@ -24,7 +38,7 @@ sitemap:
changefreq: weekly
module:
hugoVersion:
min: '0.119.0'
min: '0.122.0'
extended: true
imports:
- path: github.com/HugoBlox/hugo-blox-builder/modules/blox-analytics