summaryrefslogtreecommitdiffhomepage
path: root/include/fmt-code
diff options
context:
space:
mode:
Diffstat (limited to 'include/fmt-code')
-rwxr-xr-xinclude/fmt-code3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/fmt-code b/include/fmt-code
new file mode 100755
index 0000000..9da3828
--- /dev/null
+++ b/include/fmt-code
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+sed 's|.*|<code>&</code>|' "${2%/*}/$1"