Launch a web page to list and preview files under a directory.
Arguments
- dir
A directory path.
- live
Whether to enable live preview. If enabled, the browser page will be automatically updated upon modification of local files used by the page (e.g., the Markdown file or external CSS/JS/image files). If disabled, you can manually refresh the page to fully re-render it.
- ...
Other arguments to be passed to
xfun::new_app().