summaryrefslogtreecommitdiffhomepage
path: root/vhosts/blog/nuldoc-src/commands/new.ts
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-04-09 22:24:50 +0900
committernsfisis <nsfisis@gmail.com>2025-04-09 22:24:50 +0900
commitd1b4bc44170196a4dcef5254d092fc387e73792e (patch)
treea6bbe0e61b73c99a815d730ae7956a5124200066 /vhosts/blog/nuldoc-src/commands/new.ts
parentbba1212ab46ed85c2ed3b646f2362bdbb1f45b63 (diff)
parent4f46d262e6967c9c638b40f3b0246d21b7a9b9dc (diff)
downloadnsfisis.dev-d1b4bc44170196a4dcef5254d092fc387e73792e.tar.gz
nsfisis.dev-d1b4bc44170196a4dcef5254d092fc387e73792e.tar.zst
nsfisis.dev-d1b4bc44170196a4dcef5254d092fc387e73792e.zip
Merge branch 'nuldoc-djot'
Diffstat (limited to 'vhosts/blog/nuldoc-src/commands/new.ts')
-rw-r--r--vhosts/blog/nuldoc-src/commands/new.ts14
1 files changed, 5 insertions, 9 deletions
diff --git a/vhosts/blog/nuldoc-src/commands/new.ts b/vhosts/blog/nuldoc-src/commands/new.ts
index e694ce20..651c59e6 100644
--- a/vhosts/blog/nuldoc-src/commands/new.ts
+++ b/vhosts/blog/nuldoc-src/commands/new.ts
@@ -50,7 +50,7 @@ OPTIONS:
}
function getFilename(type: "post" | "slide"): string {
- return type === "post" ? "TODO.ndoc" : "TODO.toml";
+ return type === "post" ? "TODO.dj" : "TODO.toml";
}
function getDirPath(type: "post" | "slide"): string {
@@ -73,14 +73,10 @@ tags = [
date = "${date}"
remark = "公開"
---
-<article>
- <section id="TODO">
- <h>TODO</h>
- <p>
- TODO
- </p>
- </section>
-</article>
+{#TODO}
+# TODO
+
+TODO
`;
} else {
return `[slide]