aboutsummaryrefslogtreecommitdiffhomepage
path: root/NOTE.md
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-03-30 20:27:12 +0900
committernsfisis <nsfisis@gmail.com>2023-03-30 20:27:50 +0900
commit45a3b3d41e3637f49b5bb200de66aebd0d5f0a2f (patch)
treebfe40411a584f36ccce764f0f4bf305bb51fc6af /NOTE.md
parentc01083ef9e8d2e30eac2e44855d5e08b8e775eab (diff)
downloadblog.nsfisis.dev-45a3b3d41e3637f49b5bb200de66aebd0d5f0a2f.tar.gz
blog.nsfisis.dev-45a3b3d41e3637f49b5bb200de66aebd0d5f0a2f.tar.zst
blog.nsfisis.dev-45a3b3d41e3637f49b5bb200de66aebd0d5f0a2f.zip
feat(nuldoc): add `nuldoc new` command
Diffstat (limited to 'NOTE.md')
-rw-r--r--NOTE.md13
1 files changed, 10 insertions, 3 deletions
diff --git a/NOTE.md b/NOTE.md
index 12fec6a..099d014 100644
--- a/NOTE.md
+++ b/NOTE.md
@@ -5,16 +5,23 @@
Generate the site.
```
-$ ./nuldoc
+$ ./nuldoc build
```
Create a new post.
```
-$ mkdir -p content/posts/$(date +'%Y-%m-%d')
-$ touch content/posts/$(date +'%Y-%m-%d')/[TITLE].xml
+$ ./nuldoc new post
```
+Create a new slide.
+
+```
+$ ./nuldoc new slide
+```
+
+Update PDF.js.
+
```
$ curl -o static/pdf.min.js https://unpkg.com/pdfjs-dist@3.4.120/build/pdf.min.js
$ curl -o static/pdf.worker.min.js https://unpkg.com/pdfjs-dist@3.4.120/build/pdf.worker.min.js