]> juplo.de Git - website/commitdiff
WIP:Code-Beispiele
authorKai Moritz <kai@juplo.de>
Fri, 20 Feb 2026 16:46:44 +0000 (17:46 +0100)
committerKai Moritz <kai@juplo.de>
Fri, 20 Feb 2026 16:46:44 +0000 (17:46 +0100)
exampleSite/content/projects/code.md
exampleSite/content/projects/typo.html

index ce140f00e56ad9b767c063181cf00a9b89bb427d..6fdfdf8274dc74273043f08f7d2ba2890de5f705 100644 (file)
@@ -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"
index d3071fd201336ba23b0172eb38457d1660f6221a..bc0fec25960ad71a713a17e6081e853ac2c3a3d4 100644 (file)
@@ -117,5 +117,5 @@ lastmod: "2026-02-03T17:30:49.452Z"
       }
       {{< /highlight >}}
       <h2>...and inline</h2>
-      <p>This is some {{< highlight go "hl_inline=true" >}}fmt.Println("inline"){{< /highlight >}} code.</p>
+      <p>This is some {{< highlight go "linenos=false, hl_inline=true" >}}fmt.Println("inline"){{< /highlight >}} code.</p>
     </article>