24 lines
733 B
Markdown
24 lines
733 B
Markdown
# quarto
|
||
|
||
> 一个基于 Pandoc 的开源科学和技术出版系统。
|
||
> 更多信息:<https://quarto.org/>.
|
||
|
||
- 创建一个新项目:
|
||
|
||
`quarto create-project {{path/to/destination_directory}} --type {{book|default|website}}`
|
||
|
||
- 创建一个新的博客网站:
|
||
|
||
`quarto create-project {{path/to/destination_directory}} --type {{website}} --template {{blog}}`
|
||
|
||
- 将输入文件渲染为不同格式:
|
||
|
||
`quarto render {{path/to/file.{{qmd|rmd|ipynb}}}} --to {{html|pdf|docx}}`
|
||
|
||
- 渲染并预览文档或网站:
|
||
|
||
`quarto preview {{path/to/destination_directory|path/to/file}}`
|
||
|
||
- 将文档或项目发布到 Quarto Pub、Github Pages、RStudio Connect 或 Netlify:
|
||
|
||
`quarto publish {{quarto-pub|gh-pages|connect|netlify}}` |