diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3a1f3090f9dcb1b1d6822bb2dccad83923fed6e0..86ffb3845dcf3124d92a8fa43058a12f2aeb6ece 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 be8d7648daeaa31b6c4f0a04ae9732655a72cf39..7e159a47ae018570f329f2a36ff848b3084616ed 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 7587bd7058db5150b5f46f4d5e1f049b4c545f56..f292ca13ed7746353af15449b49720687891389a 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 45e82878deb5b349a93918644985a8d708adb4a7..ed418fe140ee325c06022c7e3de613a2d177eb0c 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" >}}) <br /> diff --git a/layouts/shortcodes/katex.html b/layouts/shortcodes/katex.html index b255cb80bab7de8fc973824ca4628805232ccb15..c83135eb64ce165caa4618223bf9d5c031e920a8 100644 --- a/layouts/shortcodes/katex.html +++ b/layouts/shortcodes/katex.html @@ -1,5 +1,5 @@ {{- if not (.Page.Scratch.Get "katex") -}} -<!-- Include katext only first time --> +<!-- Include katex only first time --> <link rel="stylesheet" href="{{ "katex/katex.min.css" | relURL }}" /> <script defer src="{{ "katex/katex.min.js" | relURL }}"></script> <script defer src="{{ "katex/auto-render.min.js" | relURL }}" onload="renderMathInElement(document.body);"></script>