Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mine-cetinkaya-rundel committed Jan 8, 2024
2 parents 43163a0 + 5824a06 commit 82978fd
Show file tree
Hide file tree
Showing 11 changed files with 69 additions and 45 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/.quarto/
_book/
.Rproj.user
8 changes: 3 additions & 5 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,11 @@ book:
chapters:
- index.qmd

- part: hello.qmd
- part: overview.qmd
chapters:
- quarto.qmd
- installation.qmd
- authoring.qmd
- computation.qmd
- hello.qmd
- tools.qmd
- authoring.qmd
- projects.qmd
- publishing.qmd
- look-under-hood.qmd
Expand Down
14 changes: 8 additions & 6 deletions authoring.qmd
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
---
title: Authoring
---
# Authoring {#sec-authoring}

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vel volutpat dui. Praesent vitae urna nec lorem feugiat consequat. Nunc ex nisi, posuere a lorem a, iaculis euismod tellus. Sed laoreet justo sit amet commodo suscipit. Curabitur gravida elit fermentum leo pulvinar, ac laoreet lectus iaculis. Quisque eu fringilla tellus, sit amet sollicitudin massa. In justo lorem, imperdiet laoreet interdum non, finibus in risus. In egestas fringilla nisl eu blandit.
## Markdown text

A change.
## Code cells

Another change.
## Tables

## Figures

## etc.
5 changes: 0 additions & 5 deletions computation.qmd

This file was deleted.

25 changes: 11 additions & 14 deletions hello.qmd
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
---
title: Hello Quarto
---

In this section we introduce you to Quarto...

- In [Chapter -@sec-quarto] we tell you what Quarto is...
- In [Chapter -@sec-installation] we tell you how to install Quarto...
- [Chapter -@sec-authoring] introduces you to components of a Quarto document such as markdown text, figures, tables, etc.
- [Chapter -@sec-computation] discusses using executable code cells with Quarto in Python, R, Julia, and Observable. In this chapter we also go deeper into the execution engines: Jupyter and knitr.
- In [Chapter -@sec-tools], we walk you through the experience of authoring with Quarto in JupyterLab, RStudio, and VSCode.
- [Chapter -@sec-projects] introduces you to the concept of Quarto projects which allow you to combine and render Quarto documents in a given directory in harmony.
- In [Chapter -@sec-publishing] is an overview of publishing options.
- In [Chapter -@sec-look-under-hood] you can find more details on the orchestration Quarto does in going from plain text source code (or mixed-format Jupyter notebooks) to elegant outputs in multiple formats.
# Hello Quarto {#sec-hello-quarto}

## What is Quarto?

## Installation

## Tools for authoring

At a minimum you need a (plain) text editor.

But we recommend using an IDE.
5 changes: 0 additions & 5 deletions installation.qmd

This file was deleted.

14 changes: 14 additions & 0 deletions overview.qmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: Hello Quarto
---

In this section we introduce you to Quarto...

- In [Chapter -@sec-quarto] we tell you what Quarto is...
- In [Chapter -@sec-installation] we tell you how to install Quarto...
- [Chapter -@sec-authoring] introduces you to components of a Quarto document such as markdown text, figures, tables, etc.
- [Chapter -@sec-computation] discusses using executable code cells with Quarto in Python, R, Julia, and Observable. In this chapter we also go deeper into the execution engines: Jupyter and knitr.
- In [Chapter -@sec-tools], we walk you through the experience of authoring with Quarto in JupyterLab, RStudio, and VSCode.
- [Chapter -@sec-projects] introduces you to the concept of Quarto projects which allow you to combine and render Quarto documents in a given directory in harmony.
- In [Chapter -@sec-publishing] is an overview of publishing options.
- In [Chapter -@sec-look-under-hood] you can find more details on the orchestration Quarto does in going from plain text source code (or mixed-format Jupyter notebooks) to elegant outputs in multiple formats.
13 changes: 13 additions & 0 deletions quarto-tdg.Rproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Version: 1.0

RestoreWorkspace: Default
SaveWorkspace: Default
AlwaysSaveHistory: Default

EnableCodeIndexing: Yes
UseSpacesForTab: Yes
NumSpacesForTab: 2
Encoding: UTF-8

RnwWeave: Sweave
LaTeX: pdfLaTeX
2 changes: 1 addition & 1 deletion quarto-tdg.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ code a:any-link {
text-decoration-color: #ccc;
}

pre {
.sourceCode pre {
background-image: linear-gradient(160deg,#f8f8f8 0,#f1f1f1 100%);
}
5 changes: 0 additions & 5 deletions quarto.qmd

This file was deleted.

22 changes: 18 additions & 4 deletions tools.qmd
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
---
title: Tools
---
# Tools {#sec-tools}

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vel volutpat dui. Praesent vitae urna nec lorem feugiat consequat. Nunc ex nisi, posuere a lorem a, iaculis euismod tellus. Sed laoreet justo sit amet commodo suscipit. Curabitur gravida elit fermentum leo pulvinar, ac laoreet lectus iaculis. Quisque eu fringilla tellus, sit amet sollicitudin massa. In justo lorem, imperdiet laoreet interdum non, finibus in risus. In egestas fringilla nisl eu blandit.
## Whole game

Here is a qmd file, go to the folder in your terminal, run quarto render

## RStudio

## JupyterLab

- ipynb vs. qmd: from now on Quarto document usually means qmd but things translate to ipynb -- orient for qmd-specific language throughout book and how that translates to ipynb
* and maybe another chapter somewhere specifically about this if this gets too long

## VSCode

## Choosing a tool

- whatever you already use
- one possible criterion: visual editor with various tools and mention how it will be called out

0 comments on commit 82978fd

Please sign in to comment.