The CLI for typora to manage note, notebooks and search functions. Available for macOS.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
README.md
init.sh

README.md

Typora-notebook

This is the scripts for especially Typora to enable managing markdown files as notebook and cross-searching over those files.

Requirements

  • peco

Config

Set the root directory of typora notes.

$ cat $HOME/.typora-notebook/config.sh
export TYPORA_NOTEBOOK_NOTEBOOKS_DIR="$HOME/Library/Mobile Documents/com~apple~CloudDocs/typora"

Usage

$ source ./init.sh
$ typora -h
Usage:
    typora [<options>]

Options:
    --open, -o                  open note by name
    --open-notebook, -n         choose notebook and open note in the notebook
    --create-note, -c <string>  create new note with input name
    --create-notebook <string>  create new notebook with input name
    --search, -s <string>       search all notes for input string
    --duplicate-notebook, -d    duplicate note
    --help, -h                  print this

Author: nemupm

Open note by name

$ typora -o 

Cross search

$ typora -s <string to search for>