Check whether the preview is in presentation mode.
Chrome (puppeteer) file export
clearCaches will clear filesCache, codeChunksData, graphsCache
fileType: 'epub', 'pdf', 'mobi' or 'html'
OptionalrunAllCodeChunks?: booleandest if success, error if failure
Generate HTML content
Generate a minimal HTML template for the graph view webview. Unlike generateHTMLTemplateForPreview, this does not parse any markdown — it just creates a shell that loads graph-view.js.
Generate html template for preview.
dest if success, error if failure
markdown(gfm) export
generate HTML file and open it in browser
legacy method to support backwards compatibility
legacy method to support backwards compatibility
The markdown engine that can be used to parse markdown and export files