Install the NPM package globally and use it from the command line for a quick conversion:
or to a file:
npm install -g ourbigbook
printf 'ab\ncd\n' | ourbigbook --body-only
You almost never want to do this except when developing OurBigBook, as it won't be clear what version of
printf 'ab\ncd\n' | ourbigbook > tmp.html
ourbigbook the document should be compiled with. Just be a good infant and use OurBigBook with the template that contains a
Furthermore, the default install of Chromium on Ubuntu 21.04 uses Snap and blocks access to dotfiles. For example, in a sane NVM install, our global CSS would live under
/home/ciro/.nvm/versions/node/v14.17.0/lib/node_modules/ourbigbook/_obb/ourbigbook.css, which gets blocked because of the
One workaround is to use
--embed-resources, but this of course generates larger outputs.
To run master globally from source for development see: Section "Run OurBigBook master". This one actually works despite the dotfile thing since your development path is normally outside of dotfiles.
npm install ourbigbook