From 45a3b3d41e3637f49b5bb200de66aebd0d5f0a2f Mon Sep 17 00:00:00 2001 From: nsfisis Date: Thu, 30 Mar 2023 20:27:12 +0900 Subject: feat(nuldoc): add `nuldoc new` command --- NOTE.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'NOTE.md') 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 -- cgit v1.2.3-70-g09d2