When you run:
it converts all files in the current directory separately, e.g.:
npx ourbigbook .
README.bigb
toout/html/index.html
, sinceREADME
is a magic name that we want to show on the root URLnot-readme.bigb
toout/html/not-readme.html
, as this one is a regular name unlikeREADME
main.scss
tomain.css
If one of the input files starts getting too large, usually the toplevel
Note however that when those individual files have a cross file reference to something defined in
to parse all files and extract all necessary IDs to the ID database. That would be optimized slightly with the
to only extract the IDs but not render, which speeds things up considerably
README.bigb
in which you dump everything by default like Ciro does, you can speed up development and just compile files individually with either:
npx ourbigbook README.bigb
npx ourbigbook not-readme.bigb
not-readme.bigb
, e.g. via \x[h2-in-not-the-readme]
, then you must have first previously done pass once with:
npx ourbigbook .
--no-render
command line option:
npx ourbigbook --no-render .
When dealing with large files, you might also be interested in the following amazing options: