-
Notifications
You must be signed in to change notification settings - Fork 340
Add Quarto Space docs #1226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add Quarto Space docs #1226
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Quarto on Spaces | ||
|
||
Quarto is a powerful tool for creating reproducible scientific and technical documents. | ||
gshotwell marked this conversation as resolved.
Show resolved
Hide resolved
|
||
With Quarto you can interleave markdown and code chunks to generate pdfs, websites, presentations and more. | ||
gshotwell marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
### Getting Started with Quarto on Spaces | ||
|
||
1. Create the Quarto space, and clone it locally | ||
|
||
<a href="https://huggingface.co/new-space?template=posit/quarto-template"> <img src="https://huggingface.co/datasets/huggingface/badges/raw/main/deploy-to-spaces-lg.svg"/> </a> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would split this into two steps, and I think you should add an example code snippet on how to clone the repo There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Actually, cloning locally is not a strict requirement no? People can do the development entirely in the UI. I would suggest to split this into
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I suppose that's true, but working on a quarto site in the browser without being able to preview the site would likely be pretty awkward. Happy to change the organization though. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think mentioning, even if briefly, the in-browser setup could be ok!
gshotwell marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
2. **Install Quarto**: In order to render your Quarto site without Docker, we recommend installing Quarto by following the instructions on the [official Quarto website](https://quarto.org/docs/get-started/). | ||
|
||
3. **Install Quarto VS Code extension** the [Quarto VS Code Extention](https://quarto.org/docs/tools/vscode.html) includes a number of productivity tools including YAML Autocomplete, a preview button, and a visual editor. Quarto works great with VS Code, but the extension does make it easier to get the most out of Quarto. | ||
gshotwell marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
4. **Edit the site** The website files are contained in the `src` directory, and the site navigation is defined in `src/_quarto.yml`, try editing these files and either clicking the "Preview" button in VS Code, or calling `quarto preview src` from the command line. | ||
gshotwell marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
5. **Learn more about Quarto** You can do a lot of things with Quarto, and they are all documented on the [Quarto Website](https://quarto.org/guide/). In particular you may be interested in: | ||
gshotwell marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
- All about building [websites](https://quarto.org/docs/websites/) | ||
- Building Static [Dashboards](https://quarto.org/docs/dashboards/) | ||
- How to write [books](https://quarto.org/docs/books/index.html) and [manuscripts](https://quarto.org/docs/manuscripts/) | ||
- Reproducible [presentations](https://quarto.org/docs/manuscripts/) | ||
- Including [Observable](https://quarto.org/docs/interactive/ojs/) or [Shiny](https://quarto.org/docs/interactive/shiny/) applications in your Quarto site |
Uh oh!
There was an error while loading. Please reload this page.