summaryrefslogtreecommitdiffhomepage
path: root/include/fmt-code
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-09-11 05:15:20 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-09-11 05:15:20 +0200
commitbda44e93541fa478abf3ce4b3461f026a90fa8cb (patch)
treea62a7e1d456effe914a77b45f66485c3e8bfd92d /include/fmt-code
parentced3ed9ddde25614bbc9777a5d546eee2a44a2e0 (diff)
Move the site from HTML to GSP
Diffstat (limited to 'include/fmt-code')
-rwxr-xr-xinclude/fmt-code2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fmt-code b/include/fmt-code
index 9da3828..c02a389 100755
--- a/include/fmt-code
+++ b/include/fmt-code
@@ -1,3 +1,3 @@
#!/bin/sh
-sed 's|.*|<code>&</code>|' "${2%/*}/$1"
+sed 's|.*|>code{-&}|; $s/>//' "${2%/*}/$1"