From fbc6fba8c4f7a4ef33476339a37fc031931f7d58 Mon Sep 17 00:00:00 2001 From: Turmaxx <88465473+Turmaxx@users.noreply.github.com> Date: Fri, 31 Oct 2025 17:10:14 +0300 Subject: [PATCH 1/4] added nb.md - Command line and local web note-taking, bookmarking, and archiving with plain text data storage, encryption, filtering and search, pinning, #tagging, Git-backed versioning and syncing, Pandoc-backed conversion, global and local notebooks, customizable color themes, [[wiki-style linking]], plugins, and more in a single portable, user-friendly script. --- pages/common/nb.md | 50 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 pages/common/nb.md diff --git a/pages/common/nb.md b/pages/common/nb.md new file mode 100644 index 00000000000000..82d2b71ec3f306 --- /dev/null +++ b/pages/common/nb.md @@ -0,0 +1,50 @@ +# nb + +> Command-line note-taking, bookmarking, and archiving tool. +> Supports encryption, tagging, wiki-style links, Git syncing, Pandoc conversion, and more. +> More information: + + +- Create a new note in your `$EDITOR`: + +`nb add "{{note_title}}"` + +- Edit a note in your `$EDITOR`: + +`nb edit {{note_id}}` + +- Add a bookmark: + +`nb {{url}}` + +- List all notes in the current notebook: + +`nb list` + +- Add a todo: + +`nb todo add {{title}}` + +- Add a task: + +`nb task add {{title}}` + +- Import a file: + +`nb import ({{path}} | {{url}})` + +- Search for notes containing a keyword: + +`nb search "{{keyword}}"` + +- Sync notes via Git: + +`nb sync` + +- Convert a note to another format using Pandoc: + +`nb export "{{note_title}}" --to pdf` + +- Help information: + +`nb help` \ No newline at end of file From 80d523f5de8c4456ee69ac75051cd8bf3ac5531d Mon Sep 17 00:00:00 2001 From: Brook <88465473+Turmaxx@users.noreply.github.com> Date: Fri, 31 Oct 2025 17:25:14 +0300 Subject: [PATCH 2/4] Fix markdown formatting and update command examples I just removed the tasks command and formatted the line that contains the url for more information. --- pages/common/nb.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/pages/common/nb.md b/pages/common/nb.md index 82d2b71ec3f306..4f62c9d72921ca 100644 --- a/pages/common/nb.md +++ b/pages/common/nb.md @@ -2,7 +2,7 @@ > Command-line note-taking, bookmarking, and archiving tool. > Supports encryption, tagging, wiki-style links, Git syncing, Pandoc conversion, and more. -> More information: +> More information: . - Create a new note in your `$EDITOR`: @@ -23,11 +23,7 @@ - Add a todo: -`nb todo add {{title}}` - -- Add a task: - -`nb task add {{title}}` +`nb todos add {{title}}` - Import a file: @@ -47,4 +43,4 @@ - Help information: -`nb help` \ No newline at end of file +`nb help` From 69cf07075d590077f5325285c16ccaead795ebd8 Mon Sep 17 00:00:00 2001 From: Turmaxx <88465473+Turmaxx@users.noreply.github.com> Date: Fri, 31 Oct 2025 17:28:44 +0300 Subject: [PATCH 3/4] removed a couple of examples removed 2 to be exact. --- pages/common/nb.md | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pages/common/nb.md b/pages/common/nb.md index 4f62c9d72921ca..49336dc4b0e903 100644 --- a/pages/common/nb.md +++ b/pages/common/nb.md @@ -4,7 +4,6 @@ > Supports encryption, tagging, wiki-style links, Git syncing, Pandoc conversion, and more. > More information: . - - Create a new note in your `$EDITOR`: `nb add "{{note_title}}"` @@ -13,10 +12,6 @@ `nb edit {{note_id}}` -- Add a bookmark: - -`nb {{url}}` - - List all notes in the current notebook: `nb list` @@ -37,10 +32,6 @@ `nb sync` -- Convert a note to another format using Pandoc: - -`nb export "{{note_title}}" --to pdf` - - Help information: `nb help` From b05fc63e0aaa28cc04122b460436ff2438cf6077 Mon Sep 17 00:00:00 2001 From: Turmaxx <88465473+Turmaxx@users.noreply.github.com> Date: Fri, 31 Oct 2025 20:03:53 +0300 Subject: [PATCH 4/4] updated nb.md with suggested fixes --- pages/common/nb.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pages/common/nb.md b/pages/common/nb.md index 49336dc4b0e903..e32758f067de2c 100644 --- a/pages/common/nb.md +++ b/pages/common/nb.md @@ -1,16 +1,16 @@ # nb -> Command-line note-taking, bookmarking, and archiving tool. +> Note-taking, bookmarking, and archiving tool. > Supports encryption, tagging, wiki-style links, Git syncing, Pandoc conversion, and more. -> More information: . +> More information: . - Create a new note in your `$EDITOR`: -`nb add "{{note_title}}"` +`nb {{[a|add]}} "{{note_title}}"` - Edit a note in your `$EDITOR`: -`nb edit {{note_id}}` +`nb {{[e|edit]}} {{note_id}}` - List all notes in the current notebook: @@ -18,20 +18,20 @@ - Add a todo: -`nb todos add {{title}}` +`nb {{[to|todos]}} {{[a|add]}} {{title}}` - Import a file: -`nb import ({{path}} | {{url}})` +`nb import ({{path/to/file|url}})` - Search for notes containing a keyword: -`nb search "{{keyword}}"` +`nb {{[q|search]}} "{{keyword}}"` - Sync notes via Git: `nb sync` -- Help information: +- Display help: `nb help`