From: Kai Moritz Date: Fri, 20 Feb 2026 16:54:47 +0000 (+0100) Subject: Syntax-Highlight via short-code uses the default style `monokai` X-Git-Url: https://juplo.de/gitweb/?a=commitdiff_plain;h=bdeada7ab87e700a04d114973589496d8c5ac441;p=website Syntax-Highlight via short-code uses the default style `monokai` --- diff --git a/exampleSite/content/projects/typo.html b/exampleSite/content/projects/typo.html index bc0fec25..e6543709 100644 --- a/exampleSite/content/projects/typo.html +++ b/exampleSite/content/projects/typo.html @@ -105,7 +105,7 @@ lastmod: "2026-02-03T17:30:49.452Z"

Syntax Highlighting by Hugo

As a code-block...

- {{< highlight go "linenos=inline, hl_lines=3 6-8, style=emacs" >}} + {{< highlight go "linenos=inline, hl_lines=3 6-8, style=monokai" >}} package main import "fmt" @@ -117,5 +117,5 @@ lastmod: "2026-02-03T17:30:49.452Z" } {{< /highlight >}}

...and inline

-

This is some {{< highlight go "linenos=false, hl_inline=true" >}}fmt.Println("inline"){{< /highlight >}} code.

+

This is some {{< highlight go "linenos=false, hl_inline=true, style=monokai" >}}fmt.Println("inline"){{< /highlight >}} code.