Initial toolkit: scripts, references, skills, and term database

This commit is contained in:
iacore
2026-07-10 21:01:02 +08:00
commit ac9e6e3d1f
51 changed files with 5192 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/usr/bin/env fish
# Convert .docx to .dj (djot) via pandoc
# Usage: docx2dj.fish <input.docx> [output.dj]
# No output path → stdout
set docx (realpath $argv[1])
if test (count $argv) -ge 2
pandoc $docx -f docx -t djot --wrap=none -o $argv[2]
echo $argv[2]
else
pandoc $docx -f docx -t djot --wrap=none
end