Skip to content
Snippets Groups Projects
Commit 2a2531d0 authored by GD's avatar GD
Browse files

init quarto website template

parents
No related branches found
No related tags found
No related merge requests found
---
title: "Website template using Quarto"
---
## What is Quarto?
Per the [official website](https://quarto.org):
> Quarto is an open-source scientific and technical publishing system built on Pandoc
>
> - Create dynamic content with Python, R, Julia, and Observable.
> - Author documents as plain text markdown or Jupyter notebooks.
> - Publish high-quality articles, reports, presentations, websites, blogs, and books in HTML, PDF, MS Word, ePub, and more.
> - Author with scientific markdown, including equations, citations, crossrefs, figure panels, callouts, advanced layout, and more.
### Documentation
- [Getting started](https://quarto.org/docs/get-started/)
* [Quarto and Rstudio](https://quarto.org/docs/get-started/hello/rstudio.html)
* [Quarto and Jupyter Notebook](https://quarto.org/docs/get-started/hello/jupyter.html)
* [Quarto in your text editor](https://quarto.org/docs/get-started/hello/text-editor.html)
- [Create websites](https://quarto.org/docs/websites/) based on (R|Q)markdown files
- [Full doc](https://quarto.org/docs/guide/)
- [R Interface to 'Quarto' Markdown Publishing System](https://quarto-dev.github.io/quarto-r/)
---
## Creating a website with quarto
- Command line: `quarto create-project <my_website_name> --type website`
- Rstudio `new project` -> `quarto website`
## Rendering your website from Markdown sources
- Command line:
+ only build: `quarto render <my_website_name>`
+ build + preview: `quarto preview <my_website_name>`
- Rstudio: `Render` button to build + preview
- R console:
+ only build: [`quarto::quarto_render()`](https://quarto-dev.github.io/quarto-r/reference/quarto_render.html)
+ build + preview: [`quarto::quarto_preview()`](https://quarto-dev.github.io/quarto-r/reference/quarto_preview.html)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment