chore: bump hugo in ci to 0.104.3 (#518)

This commit is contained in:
Robert Kaussow 2022-10-14 12:21:12 +02:00 committed by GitHub
parent 3a651840a9
commit c1d8443eed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 30 deletions

View File

@ -26,7 +26,7 @@ steps:
NPM_CONFIG_LOGLEVEL: error
- name: testbuild
image: thegeeklab/hugo:0.97.3
image: thegeeklab/hugo:0.104.3
commands:
- mkdir -p exampleSite/themes/ && ln -s $(pwd)/ exampleSite/themes/hugo-geekdoc
- hugo --panicOnWarning -s exampleSite/ -b http://localhost:8000/
@ -206,7 +206,7 @@ steps:
- refs/pull/**
- name: build
image: thegeeklab/hugo:0.97.3
image: thegeeklab/hugo:0.104.3
commands:
- hugo --panicOnWarning -s exampleSite/
@ -286,6 +286,6 @@ depends_on:
---
kind: signature
hmac: e0710630d0e540bb93561e760d0c4cfa4a67d2ee715993e7bb29e03d79f83d53
hmac: 8a857bba8126ebb40acc7dfb24a86f1539d447df4ca3e4b3bdc8f78d21e2b51b
...

View File

@ -6,16 +6,12 @@ title: KaTeX
## Example
{{< columns >}}
```latex
{{</* katex [display] [class="text-center"] */>}}
f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi
{{</* /katex */>}}
```
<--->
<!-- spellchecker-disable -->
<!-- prettier-ignore -->
{{< katex display >}}
@ -24,16 +20,4 @@ f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi
<!-- spellchecker-enable -->
{{< /columns >}}
KaTeX can also be used inline, for example {{< katex >}}\pi(x){{< /katex >}} or used with the `display` parameter (e.g. `display: block`):
<!-- spellchecker-disable -->
<!-- prettier-ignore -->
{{< katex display >}}
f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi
{{< /katex >}}
<!-- spellchecker-enable -->
Text continues here.
KaTeX can be used inline, for example {{< katex >}}\pi(x){{< /katex >}} or used with the `display` parameter (see above).

View File

@ -6,11 +6,9 @@ title: Mermaid
## Example
{{< columns >}}
<!-- prettier-ignore -->
```tpl
{{</* mermaid class="text-center"*/>}}
{{</* mermaid class="text-center" */>}}
sequenceDiagram
Alice->>Bob: Hello Bob, how are you?
alt is sick
@ -24,8 +22,6 @@ sequenceDiagram
{{</* /mermaid */>}}
```
<--->
<!-- spellchecker-disable -->
<!-- prettier-ignore -->
{{< mermaid class="text-center" >}}
@ -43,8 +39,6 @@ sequenceDiagram
<!-- spellchecker-enable -->
{{< /columns >}}
As an alternative to shortcodes, code blocks can be used for markdown as well.
{{< columns >}}
@ -53,7 +47,6 @@ As an alternative to shortcodes, code blocks can be used for markdown as well.
````tpl
```mermaid
flowchart LR
A[Hard] -->|Text| B(Round)
B --> C{Decision}
C -->|One| D[Result 1]
@ -67,7 +60,6 @@ C -->|Two| E[Result 2]
<!-- prettier-ignore -->
```mermaid
flowchart LR
A[Hard] -->|Text| B(Round)
B --> C{Decision}
C -->|One| D[Result 1]

View File

@ -6,6 +6,6 @@
{{ end }}
<!-- prettier-ignore-end -->
<pre class="gdoc-mermaid mermaid">
<pre class="gdoc-mermaid mermaid text-center">
{{- .Inner -}}
</pre>