From e36c5b98772c8b096e275e01b0a9b39b60c99551 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Fri, 20 Feb 2026 17:46:44 +0100 Subject: [PATCH] WIP:Code-Beispiele --- exampleSite/content/projects/code.md | 4 ++-- exampleSite/content/projects/typo.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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.

-- 2.39.5