translate: 如何做好临终关怀; project setup: skills, AGENTS.md, readme.dj, dj2docx.fish, bilingual workflow

This commit is contained in:
iacore
2026-06-14 16:08:11 +08:00
parent 19b62c9c87
commit 8fc709d7b6
11 changed files with 1259 additions and 53 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/env fish
# Convert target.dj to English docx
# Usage: dj2docx <path-to-target.dj>
# Output: /tmp/<parent-dirname>-英文.docx
set tgt (realpath $argv[1])
set parent (basename (dirname $tgt))
set out "/tmp/$parent-英文.docx"
pandoc $tgt -f djot -t docx -o $out
echo $out