From: Kai Moritz Date: Fri, 20 Feb 2026 16:46:44 +0000 (+0100) Subject: WIP:Code-Beispiele X-Git-Url: https://juplo.de/gitweb/?a=commitdiff_plain;h=e36c5b98772c8b096e275e01b0a9b39b60c99551;p=website WIP:Code-Beispiele --- diff --git a/exampleSite/content/projects/code.md b/exampleSite/content/projects/code.md index ce140f00..6fdfdf82 100644 --- a/exampleSite/content/projects/code.md +++ b/exampleSite/content/projects/code.md @@ -2,7 +2,7 @@ title: "Code-Blocks" --- Bash: -```bash {class="my-class" id="my-codeblock" lineNos=inline tabWidth=2} +```bash declare a=1 echo "$a" exit @@ -16,7 +16,7 @@ public class MyClass } ``` GO: -```go {linenos=inline hl_lines=[3,"6-8"] style=emacs} +```go {hl_lines=[3,"6-8"]} package main import "fmt" diff --git a/exampleSite/content/projects/typo.html b/exampleSite/content/projects/typo.html index d3071fd2..bc0fec25 100644 --- a/exampleSite/content/projects/typo.html +++ b/exampleSite/content/projects/typo.html @@ -117,5 +117,5 @@ lastmod: "2026-02-03T17:30:49.452Z" } {{< /highlight >}}

...and inline

-

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

+

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