Start live preview server for Typst document
Starts a live preview server for Typst documents with auto-refresh in browser.
/plugin marketplace add edwinhu/workflows/plugin install edwinhu-tinymist-lsp-plugins-tinymist-lsp@edwinhu/workflowsfile.typStart a live preview server for a Typst document.
Auto-detect the Typst file:
$1 is provided and ends with .typ, use it as the input file.typ files in the current directory using GlobStart the preview server:
tinymist preview <input.typ> --open
Inform the user:
--preview-mode slide for presentations)If the user wants to customize the preview:
--partial-rendering true for better performance on large documents--invert-colors auto for dark mode compatibility--ppi <number> to adjust resolution (default: 144)