-
It simply runs a
quickbook [options...] --output-format onehtml --output-file "CONTEXT.EXTENSIONPATH/jbouwer.boost-quickbook-support-X.Y.Z/out/preview.html" "input_file"
command and display the resulting output the file in avscode.WebviewPanel
. -
The
View/Output
panel will have a"Quickbook Preview Generation"
channel (drop down) that displays the preview generation command line, and output fromstdout
&stderr
. -
The
quickbook
functionality is not really designed to support that, and hence the preview does not implement it. -
Some settings will require a simple "Refresh Preview" to take effect. Others - those that persist with the
VSCode WebView
, will require aDeveloper: Reload Window
command in order to take effect. -
Remember that
quickbook
output is intended as an input to the BoostBook processor - and not to deliver a finished product.
This extension only intends to augment thequickbook
output in order to prepare a "quick & dirty" preview. -
Why does the "Preview" functionality need so many settings - in addition to those used by the
quickbook
executable?See also #5 above.
In order to prepare the preview as close as possible to the finished product, the extension do some post-processing on thequickbook
preview output - hence the many settings.