Compare commits

...

2 Commits

Author SHA1 Message Date
d8e03990ca Make kroki server configurable 2026-03-21 16:01:13 +01:00
c9087030a5 Add read-blog badge 2026-03-21 15:59:37 +01:00
3 changed files with 6 additions and 1 deletions

View File

@@ -22,7 +22,7 @@ export default defineConfig({
remarkMath, [
remarkKroki, {
alias: ["mermaid", "tikz"],
server: "https://kroki.io",
server: process.env.KROKI_SERVER || "https://kroki.io",
target: "mdx3",
output: "inline-svg"
}

BIN
public/img/read-blog.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 418 B

5
public/img/read-blog.svg Normal file
View File

@@ -0,0 +1,5 @@
<svg xmlns="http://www.w3.org/2000/svg" width="220" height="40" viewBox="0 0 220 40" role="img" aria-label="Blogeintrag @ c0ntroller.de">
<style>text { transition: text-shadow 0.3s ease; } rect:hover ~ text, text:hover { text-shadow: 0 0 5px rgba(214,134,249,0.6), 0 0 10px rgba(214, 134, 249, .6) }</style>
<rect width="220" height="40" fill="#0d0117" rx="8" />
<text x="110" y="25" fill="rgb(214, 134, 249)" font-family="Arial, sans-serif" font-size="16" text-anchor="middle">Blogeintrag @ c0ntroller.de</text>
</svg>

After

Width:  |  Height:  |  Size: 531 B