]> juplo.de Git - website/commitdiff
Syntax-Highlight via short-code uses the default style `monokai`
authorKai Moritz <kai@juplo.de>
Fri, 20 Feb 2026 16:54:47 +0000 (17:54 +0100)
committerKai Moritz <kai@juplo.de>
Fri, 20 Feb 2026 16:54:47 +0000 (17:54 +0100)
exampleSite/content/projects/typo.html

index bc0fec25960ad71a713a17e6081e853ac2c3a3d4..e65437096d5c4dd46ae72d75d7ed8927e415ed51 100644 (file)
@@ -105,7 +105,7 @@ lastmod: "2026-02-03T17:30:49.452Z"
 </code></pre>
       <h1>Syntax Highlighting by Hugo</h1>
       <h2>As a code-block...</h2>
-      {{< 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 >}}
       <h2>...and inline</h2>
-      <p>This is some {{< highlight go "linenos=false, hl_inline=true" >}}fmt.Println("inline"){{< /highlight >}} code.</p>
+      <p>This is some {{< highlight go "linenos=false, hl_inline=true, style=monokai" >}}fmt.Println("inline"){{< /highlight >}} code.</p>
     </article>