diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3a1f3090..86ffb384 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,7 +11,7 @@ jobs: - 'latest' - '0.79.0' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true # Fetch Hugo themes (true OR recursive) fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod diff --git a/README.md b/README.md index be8d7648..7e159a47 100644 --- a/README.md +++ b/README.md @@ -296,7 +296,7 @@ In addition to this, there are several empty partials you can override to easily ### Plugins -There are a few features implemented as plugable `scss` styles. Usually these are features that don't make it to the core but can still be useful. +There are a few features implemented as pluggable `scss` styles. Usually these are features that don't make it to the core but can still be useful. | Plugin | Description | | --------------------------------- | ----------------------------------------------------------- | diff --git a/exampleSite/content.en/docs/shortcodes/katex.md b/exampleSite/content.en/docs/shortcodes/katex.md index 7587bd70..f292ca13 100644 --- a/exampleSite/content.en/docs/shortcodes/katex.md +++ b/exampleSite/content.en/docs/shortcodes/katex.md @@ -1,3 +1,6 @@ +--- +title: KaTeX +--- # KaTeX KaTeX shortcode let you render math typesetting in markdown document. See [KaTeX](https://katex.org/) diff --git a/exampleSite/content.en/menu/index.md b/exampleSite/content.en/menu/index.md index 45e82878..ed418fe1 100644 --- a/exampleSite/content.en/menu/index.md +++ b/exampleSite/content.en/menu/index.md @@ -16,7 +16,7 @@ headless: true - [Columns]({{< relref "/docs/shortcodes/columns" >}}) - [Expand]({{< relref "/docs/shortcodes/expand" >}}) - [Hints]({{< relref "/docs/shortcodes/hints" >}}) -- [KaTex]({{< relref "/docs/shortcodes/katex" >}}) +- [KaTeX]({{< relref "/docs/shortcodes/katex" >}}) - [Mermaid]({{< relref "/docs/shortcodes/mermaid" >}}) - [Tabs]({{< relref "/docs/shortcodes/tabs" >}})
diff --git a/layouts/shortcodes/katex.html b/layouts/shortcodes/katex.html index b255cb80..c83135eb 100644 --- a/layouts/shortcodes/katex.html +++ b/layouts/shortcodes/katex.html @@ -1,5 +1,5 @@ {{- if not (.Page.Scratch.Get "katex") -}} - +