Programatically sync and edit BookStack pages. Useful for text editor integrations (an emacs PoC implementation is included).
Pages in the configured Bookstack wiki will be downloaded and written to Markdown files in book/page.md
format. Local Markdown files that don't exist in the wiki will be uploaded as new pages in a book. When a local file is deleted the wiki page will be deleted if their last_modified dates are the same. Wiki pages that are deleted will cause their local counterparts to be deleted as well. Out-of-synch pages (i.e., the local file and wiki page have been edited independently and their edits do not line up) will not be synched without the --force
option.