A use case of scrapbox on Emacs
(defun my-index-scrapbox ()
(interactive)
(async-shell-command
"/path/to/get_scrapbox_page_titles.sh"))
Edit your get_scrapbox_page.sh
, get_scrapbox_page_titlets.sh
as follows.
response=$(curl -s "[Your Request]")
# [Your Request]: "https://scrapbox.io/api/pages/[PROJECT_NAME]/search/titles"
- Get Page Titles
M-x my-index-scrapbox
- Get Page Body
M-x my-index-scrapbox RET [YOUR_PAGE_NAME]
- Post Page Body
After selecting region, execute
M-x my-post-scrapbox RET [YOUR_PAGE_NAME]
If you want to access your private project, plz do a bit hack.
See the comment on: get_scrapbox_page.sh