diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-03-29 00:47:55 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-03-29 00:55:14 +0900 |
| commit | d30dfc89bf1b673b2fdc0638766b930adaec228c (patch) | |
| tree | 739d8826451947adfeb526ef1adeb1db397a9af4 /vhosts/blog/nuldoc | |
| parent | f65ec15aaf8fc46685c39d721cab82f64baead8c (diff) | |
| download | nsfisis.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-x | vhosts/blog/nuldoc | 2 |
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" \ "$@" |
