preview

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Preview

预览

Use the
/preview
command to render and open artifacts.
使用
/preview
命令来渲染并打开制品。

Commands

命令

CommandDescription
/preview
Preview the most recent artifact in the browser
/preview --file <path>
Preview a specific file
/preview-browser
Force browser preview
/preview-pdf
Export to PDF via pandoc + LaTeX
/preview-clear-cache
Clear rendered preview cache
命令描述
/preview
在浏览器中预览最新的制品
/preview --file <path>
预览指定文件
/preview-browser
强制在浏览器中预览
/preview-pdf
通过pandoc + LaTeX导出为PDF
/preview-clear-cache
清除渲染预览的缓存

Fallback

备选方案

If the preview commands are not available, use bash:
bash
open <file.md>          # macOS — opens in default app
open <file.pdf>         # macOS — opens in Preview
如果预览命令不可用,请使用bash:
bash
open <file.md>          # macOS — opens in default app
open <file.pdf>         # macOS — opens in Preview