summaryrefslogtreecommitdiffhomepage
path: root/vhosts/blog/nuldoc
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-03-29 00:47:55 +0900
committernsfisis <nsfisis@gmail.com>2025-03-29 00:55:14 +0900
commitd30dfc89bf1b673b2fdc0638766b930adaec228c (patch)
tree739d8826451947adfeb526ef1adeb1db397a9af4 /vhosts/blog/nuldoc
parentf65ec15aaf8fc46685c39d721cab82f64baead8c (diff)
downloadnsfisis.dev-d30dfc89bf1b673b2fdc0638766b930adaec228c.tar.gz
nsfisis.dev-d30dfc89bf1b673b2fdc0638766b930adaec228c.tar.zst
nsfisis.dev-d30dfc89bf1b673b2fdc0638766b930adaec228c.zip
feat(blog/nuldoc): migrate syntax highlighter from highlight.js to shiki.js
Diffstat (limited to 'vhosts/blog/nuldoc')
-rwxr-xr-xvhosts/blog/nuldoc2
1 files changed, 2 insertions, 0 deletions
diff --git a/vhosts/blog/nuldoc b/vhosts/blog/nuldoc
index 8ab893d3..3ce9f0e2 100755
--- a/vhosts/blog/nuldoc
+++ b/vhosts/blog/nuldoc
@@ -2,9 +2,11 @@
base_dir="$(dirname "$BASH_SOURCE")"
+# VSCODE_TEXTMATE_DEBUG is read by shiki, the syntax highlighter library
deno run \
--allow-read="$base_dir" \
--allow-write="$base_dir" \
--allow-net="0.0.0.0:8000" \
+ --allow-env=VSCODE_TEXTMATE_DEBUG \
"$base_dir/nuldoc-src/main.ts" \
"$@"