generated from posit-conf-2023/workshop-template
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathslides.qmd
1591 lines (1255 loc) · 45.2 KB
/
slides.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
---
title: "From Documents to Projects"
format: qmdrslides-revealjs
---
## Introductions
Take \~2 minutes to introduce yourself to your neighbors.
\
::: poll
Please share ...
1. Your name
2. Where you're from
3. What you work on in 3 words or fewer
4. Name one thing you've made that you're proud of
:::
```{r}
countdown::countdown(2)
```
# About the Workshop
## {data-menu-title="Website Link" style="text-align: center"}
\
\
\
::: r-fit-text
Workshop materials are at:
[pos.it/quarto-r-conf23](pos.it/quarto-r-conf23)
:::
## {data-menu-item="Workshop Goals"}
\
\
### Goals for the Workshop {style="font-size: 2.5em; text-align: center"}
::: {.incremental style="font-size: 1.5em"}
1. Everyone leaves with a website and a book.
2. Learn from one another.
3. Build an understanding of the big picture.
:::
## From Magic to Magical Machines
{.fragment .fade-in-then-semi-out fig-alt="Two fuzzy round monsters dressed as wizards, working together to brew different things together from a pantry (code, text, figures, etc.) in a cauldron labeled “R Markdown”. The monster wizard at the cauldron is reading a recipe that includes steps “1. Add text. 2. Add code. 3. Knit. 4. (magic) 5. Celebrate perceived wizardry.” The R Markdown potion then travels through a tube, and is converted to markdown by a monster on a broom with a magic wand, and eventually converted to an output by pandoc. Stylized text (in a font similar to Harry Potter) reads “R Markdown. Text. Code. Output. Get it together, people.”" width="1100px"}
{.fragment .fade-left fig-alt="A technical sketch of a lightbulb" style="position: absolute; top: 180px; left: 450px; height: 600px; border: 3px solid orange; filter: drop-shadow(10px 10px 4px #5c5859)"}
## Quartoing as Coding
:::columns
:::{.column width=40%}
:::incremental
1. DRY out your document (Don't Repeat Yourself)
2. Use control flow (if/then)
3. Think about data structures
:::
:::
:::{.column width=60%}

:::
:::
## Workshop Schedule
::: {style="text-align: center"}
- 9-10:30 am [From Docs to Projects](materials/2-projects/1-docs-to-projects)
- 10:30-11 am Coffee Break
- 11-12:30 pm [Websites](materials/2-projects/2-websites)
- 12:30-1:30 pm Lunch
- 1:30-2 pm [Advanced Slidecraft](materials/2-projects/3-slidecraft)
- 2-3 pm [Books](materials/2-projects/4-books)
- 3-3:30 pm Coffee Break
- 3:30-4:30 [Extensions](materials/2-projects/5-extensions)
- 4:30-5 pm [Quarto Dev Q&A](materials/2-projects/6-dev-panel/slides.qmd)
:::
## Discussions: Discord
Ask questions at **#advanced-quarto-with-r-and-rstudio**.
{fig-alt="Screenshot of the discord server app that serves as the forum for the workshop." fig-align="center" width="546"}
## Flow of the Workshop
::: {.r-stretch layout="[2, 2]" style="text-align: center"}
{.drop .fragment width="540"}
{.drop .fragment width="540"}
{.drop .fragment width="540"}
{.drop .fragment width="540"}
:::
## Stickies
::: {layout="[[4, 5, 1]]" layout-valign="center"}
{fig-alt="Picture of a laptop with a red sticky note stuck to the top." width="540"}
During an activity, place a [**blue**]{style="color: blue"} sticky on your laptop if you're good to go and a [**red**]{style="color: red"} sticky if you want help.
:::
::: footer
Image by [Megan Duffy](https://dynamicecology.wordpress.com/2015/01/13/sticky-notes-as-a-teaching-and-lab-meeting-tool/)
:::
## Practicalities
::: {.columns style="font-size: .7em"}
::: {.column width="50%"}
- WiFi:
- Network: Posit Conf 2023
- Password: conf2023
- There are gender-neutral bathrooms located are among the Grand Suite Bathrooms.
- There are two meditation/prayer rooms: Grand Suite 2A and Grand Suite 2B. Open Sunday - Tuesday 7:30 a.m. - 7:00 p.m., Wednesday 8:00 a.m. - 6:00 p.m.
- The lactation room is located in Grand Suite 1. Open Sunday - Tuesday 7:30 a.m. - 7:00 p.m., Wednesday 8:00 a.m. - 6:00 p.m.
:::
::: {.column width="50%"}
- Participants who do not wish to be photographed have red lanyards; please note everyone's lanyard colors before taking a photo and respect their choices.
- The Code of Conduct and COVID policies can be found at https://posit.co/code-of-conduct/. Please review them carefully. You can report Code of Conduct violations in person, by email, or by phone. Please see the policy linked above for contact information.
:::
:::
# A Challenge
## {menu-title="Posit Cloud"}
::: {style="text-align: center"}
{{< fa solid cloud size=4x >}}
[Join me in Posit Cloud!]{.bigadage}
::: fragment
If having not yet accepted an invite:
[<https://tinyurl.com/adv-quarto>]{style="font-size: 2em"}
:::
::: fragment
If you have:
[<https://posit.cloud/spaces/397249>]{style="font-size: 2em"}
:::
:::
## Paired programming
::: columns
::: {.column width="50%"}

:::
::: {.column width="50%"}
\
\
\
Talk through your code.
\
Two people. One laptop.
:::
:::
## Your Turn {.your-turn}
Click in the `quarto-puzzle` project, open `quarto-puzzle.qmd` and **render** it. Then modify the document to add five features:
. . .
1. Add an author to the yaml.
2. Convert "Advanced Quarto" to be a level two header.
3. Add a link to the Quarto website (https://quarto.org/) on the word "Quarto" that appears before the comma in the first sentence.
4. Turn the schedule into a bulleted list with 8 items.
5. At the end of the document, insert the image `quarto-logo.png` found in the same directory and make it 150 pixels wide.
**Render** after each change to your document to check your progress!
```{r}
countdown::countdown(10)
```
# Pandoc's Document Model
## What Defines a Document?
. . .
A document consists of *content*, *format*, *appearance*, *structure*.
::: columns
::: {.column .fragment .fade-right width="50%"}

:::
::: {.column .fragment width="50%"}
\
- **Content:** text, code, graphics
- **Format:** functionality, technology
- **Appearance:** fonts, colors, layout
- **Structure:** paragraphs, lists, emphasis, etc.
:::
:::
## {data-menu-title="Document Structure" auto-animate="true"}
\
\
### What defines the *structure* of a document? {style="text-align: center"}
\
::: {style="text-align: center"}
[A document is a list of [block elements]{.block-el}]{.fragment} [that may contain [inline elements]{.inline-el} or other blocks,]{.fragment} [along with associated [metadata]{.meta-el}.]{.fragment}
:::
## {data-menu-title="Block Elements" auto-animate="true"}
::: {style="text-align: center"}
A document is a list of [block elements]{.block-el} that may contain [inline elements]{.inline-el} or other blocks, along with associated [metadata]{.meta-el}.
:::
\
. . .
[Block Element]{.block-el}
: Starts on a new line and followed by an empty line. Forms a visible block.
. . .
::: {layout-ncol="2"}
::: {#leftcol}
::: {.v-center-container .block-el data-id="block-1" style="width: 300px; height: 100px; margin: 5px; position: absolute; top: 30px; left: 95px"}
Block 1
:::
::: {.v-center-container .block-el data-id="block-2" style="width: 300px; height: 100px; margin: 5px; position: absolute; top: 140px; left: 95px"}
Block 2
:::
::: {.v-center-container .block-el data-id="block-3" style="width: 300px; height: 100px; margin: 5px; position: absolute; top: 250px; left: 95px"}
Block 3
:::
:::
::: {#rightcol style="font-size: .7em"}
\
Examples:
- Paragraph
- Heading
- Image
- List
:::
:::
## {data-menu-title="Inline Elements" auto-animate="true"}
::: {style="text-align: center"}
A document is a list of [block elements]{.block-el} that may contain [inline elements]{.inline-el} or other blocks, along with associated [metadata]{.meta-el}.
:::
\
[Inline Element]{.inline-el}
: Modifies content inline and is not followed by a new line.
::: {layout-ncol="2"}
<div>
::: {.v-center-container .block-el data-id="block-1" style="width: 300px; height: 100px; margin: 5px; position: absolute; top: 30px; left: 95px"}
Block 1
:::
::: {.v-center-container .block-el data-id="block-2" style="width: 300px; height: 100px; margin: 5px; position: absolute; top: 140px; left: 95px"}
:::
::: {.v-center-container .inline-el data-id="inline-1" style="width: 135px; height: 40px; margin: 5px; position: absolute; top: 150px; left: 105px; font-size: .7em"}
Inline 1
:::
::: {.v-center-container .inline-el data-id="inline-1" style="width: 135px; height: 40px; margin: 5px; position: absolute; top: 150px; left: 250px; font-size: .7em"}
Inline 2
:::
::: {.v-center-container .block-el data-id="block-3" style="width: 300px; height: 100px; margin: 5px; position: absolute; top: 250px; left: 95px"}
Block 3
:::
</div>
::: {style="font-size: .7em"}
\
Examples:
- Emphasis
- Link
- Footnote
- Citation
:::
:::
## {data-menu-title="Metadata" auto-animate="true"}
::: {style="text-align: center"}
A document is a list of [block elements]{.block-el} that may contain [inline elements]{.inline-el} or other blocks, along with associated [metadata]{.meta-el}.
:::
\
[Metadata]{.meta-el}
: Ancillary info about the document's origin, format, look, etc.
::: {layout-ncol="2"}
<div>
::: {.v-center-container .meta-el data-id="metadata" style="width: 300px; height: 60px; margin: 5px; position: absolute; top: 30px; left: 95px"}
Metadata
:::
::: {.v-center-container .block-el data-id="block-1" style="width: 300px; height: 100px; margin: 5px; position: absolute; top: 100px; left: 95px"}
Block 1
:::
::: {.v-center-container .block-el data-id="block-2" style="width: 300px; height: 100px; margin: 5px; position: absolute; top: 210px; left: 95px"}
:::
::: {.v-center-container .inline-el data-id="inline-1" style="width: 135px; height: 40px; margin: 5px; position: absolute; top: 220px; left: 105px; font-size: .7em"}
Inline 1
:::
::: {.v-center-container .inline-el data-id="inline-1" style="purple; width: 135px; height: 40px; margin: 5px; position: absolute; top: 220px; left: 250px; font-size: .7em"}
Inline 2
:::
::: {.v-center-container .block-el data-id="block-3" style="width: 300px; height: 100px; margin: 5px; position: absolute; top: 320px; left: 95px"}
Block 3
:::
</div>
::: {style="font-size: .7em"}
\
Examples:
- Author
- Keywords
- Character set
- Appearance/style
:::
:::
## {data-menu-title="Document Formats" auto-animate="true"}
::: {style="text-align: center"}
A document is a list of [block elements]{.block-el} that may contain [inline elements]{.inline-el} or other blocks, along with associated [metadata]{.meta-el}.
:::
::: {layout-ncol="2"}
::: {#\"leftcol}
::: {.v-center-container .block-el data-id="block-1" style="width: 300px; height: 60px; margin: 5px; position: absolute; top: 60px; left: 95px"}
Header
:::
::: {.v-center-container .block-el data-id="block-2" style="width: 300px; height: 150px; margin: 5px; position: absolute; top: 130px; left: 95px"}
Paragraph
:::
::: {.v-center-container .inline-el data-id="inline-1" style="width: 135px; height: 40px; margin: 5px; position: absolute; top: 140px; left: 125px; font-size: .6em"}
Emphasis
:::
::: {.v-center-container .block-el data-id="block-3" style="width: 300px; height: 150px; margin: 5px; position: absolute; top: 290px; left: 95px"}
Image
:::
::: {.fragment .fade-right fragment-index="4"}

:::
:::
::: r-stack
::: {.fragment .fade-left fragment-index="1"}

:::
::: {.fragment .fade-left fragment-index="2"}

:::
::: {.fragment .fade-left fragment-index="3"}

:::
:::
:::
# Review: YAML
## [Metadata:]{.meta-el} YAML
"Yet Another Markup Language" or "YAML Ain't Markup Language" is used to provide document level metadata ...
:::columns
:::{.column width=10%}
:::
:::{.column width=50%}
[... in key-value pairs,]{.fragment}
[... that can nest,]{.fragment}
[... are fussy about indentation,]{.fragment}
[... and are kept between `---`.]{.fragment}
:::
:::{.column width=40% .fragment}
\
``` yaml
---
format:
html:
toc: true
code-fold: true
---
```
:::
:::
<!-- ## [Metadata:]{.meta-el} Types of values -->
<!-- ZZQ could add slide talking about single value, [] list and - lists. -->
<!-- :::columns -->
<!-- :::{.column width=50%} -->
<!-- ``` yaml -->
<!-- --- -->
<!-- format: something -->
<!-- --- -->
<!-- ``` -->
<!-- ::: -->
<!-- :::{.column width=50% .fragment} -->
<!-- ``` yaml -->
<!-- --- -->
<!-- format: html -->
<!-- --- -->
<!-- ``` -->
<!-- ``` yaml -->
<!-- --- -->
<!-- format: pdf -->
<!-- --- -->
<!-- ``` -->
<!-- ``` yaml -->
<!-- --- -->
<!-- format: revealjs -->
<!-- --- -->
<!-- ``` -->
<!-- ::: -->
<!-- ::: -->
## {menu-title="YAML Poll" style="font-size: .8em"}
::: poll
{{< fa brands discord >}} Which of the following are valid ways to include metadata?
:::
:::columns
:::{.column width="50%"}
[A]{.smallcaps}
```markdown
---
title: US Patent: A Spatial Toy
author: Erno Rubik
format: html
---
My idea is to build a cube...
```
[C]{.smallcaps}
```markdown
---
format: html
---
My idea is to build a cube...
---
title: A Spatial Toy
author: Erno Rubik
---
```
:::
:::{.column width="50%"}
[B]{.smallcaps}
```markdown
My idea is to build a cube...
```
... then at the command line, run:
```bash
quarto render patent.qmd --to html -M title:patent
```
\
[D]{.smallcaps}
```markdown
---
title: "US Patent: A Spatial Toy"
author: "Erno Rubik"
format: "html"
---
My idea is to build a cube...
```
:::
:::
## [Metadata:]{.meta-el} YAML Syntax Rules
:::columns
:::{.column width="50%" style="max-height: 1000px"}
```yaml
---
title: "US Patent: A Toy"
author:
- Erno Rubrik
- Albert Einstein
format:
html:
toc: true
abstract: |
This is the abstract.
It has two paragraphs.
---
```
:::
:::{.column width="50%" style="font-size: .85em"}
::: incremental
- Set a single value with
```yaml
key: value
```
- Set a list of values either:
```yaml
key: [val1, val2]
```
```yaml
key:
- val1
- val2
```
- Quote values that contain `:`
- Indent 2 spaces to nest
- Multi-line strings follow `|`
- Multiple YAML blocks will be merged
:::
:::
:::
:::aside
An overview of YAML syntax: <https://en.m.wikipedia.org/wiki/YAML#Syntax>
:::
## [Metadata:]{.meta-el} Fussing with YAML
[Invalid]{.inline-el}
:::columns
:::{.column width=50%}
``` yaml {.fragment}
---
format:html
---
```
\
``` yaml {.fragment}
---
format:
html
---
```
\
``` yaml {.fragment}
---
format:
html:
---
```
:::
:::{.column width=50%}
[Valid]{.block-el}
``` yaml {.fragment}
format: html
```
\
``` yaml {.fragment}
format:
html
```
\
``` yaml {.fragment}
format:
html:
toc: true
```
:::
:::
## Quarto linting
Lint, or a linter, is a static code analysis tool used to flag programming errors, bugs, stylistic errors and suspicious constructs.
<br>
{.drop fig-align="center"}
::: aside
Source: <https://en.wikipedia.org/wiki/Lint_(software)>
:::
## Quarto YAML Intelligence
RStudio + VSCode provide rich tab-completion - start a word and tab to complete, or <kbd>`Ctrl + space`</kbd> to see all available options.
\
{.drop fig-align="center" width="600"}
# Fundamentals of a Quarto Project
## What defines a Quarto Project?
::: r-fit-text
> [A Quarto Project is a directory]{.fragment} [that contains a file called `_quarto.yml`.]{.fragment}
:::
\
::: columns
::: {.column .fragment .fade-right width="50%"}
This is a Quarto Project.
{.drop fig-alt="Files panel in RStudio showing my-doc.qmd and _quarto.yml."}
:::
::: {.column .fragment .fade-left width="50%"}
This is not.
{.drop fig-alt="Files panel in RStudio showing only my-doc.qmd."}
:::
:::
## \_quarto.yml {auto-animate="true"}
A YAML file with particular keys and values that Quarto recognizes. Unrecognized keys are ignored.
```yaml {filename="_quarto.yml" .fragment}
project:
title: "A Barebones Project"
```
## \_quarto.yml {auto-animate="true"}
A YAML file with particular keys and values that Quarto recognizes. Unrecognized keys are ignored.
```yaml {filename="_quarto.yml" code-line-numbers="1-20|528-548"}
project:
type: website
output-dir: _site
resources:
- "/docs/download/_download.json"
- "/docs/download/_prerelease.json"
- "/_redirects"
website:
title: "Quarto"
image: "quarto-dark-bg.jpeg"
favicon: "favicon.png"
google-analytics: "G-FV9Z7SDZ0M"
open-graph: true
twitter-card: true
site-url: https://quarto.org
repo-url: https://github.com/quarto-dev/quarto-web
issue-url: https://github.com/quarto-dev/quarto-cli/issues/new/choose
repo-actions: [edit, issue]
page-navigation: true
bread-crumbs: true
search:
show-item-context: true
type: overlay
algolia:
index-name: prod_QUARTO
application-id: ZPJB5I1QN7
search-only-api-key: 41be6c1e0a7fea4a51b107810facf577
analytics-events: true
show-logo: true
page-footer:
left: |
Proudly supported by
[{fig-alt="Posit" width=65px}](https://posit.co)
center:
- text: "About"
href: about.qmd
- text: "FAQ"
href: docs/faq/index.qmd
- text: "License"
href: license.qmd
- text: "Trademark"
href: trademark.qmd
right:
- icon: twitter
href: https://twitter.com/quarto_pub
aria-label: Quarto Twitter
- icon: github
href: https://github.com/quarto-dev/quarto-cli
aria-label: Quarto GitHub
- icon: rss
href: https://quarto.org/docs/blog/index.xml
aria-label: Quarto Blog RSS
navbar:
background: light
logo: quarto.png
logo-alt: "Quarto logo."
title: false
collapse-below: lg
left:
- text: "Overview"
href: index.qmd
- text: "Get Started"
href: docs/get-started/index.qmd
- text: "Guide"
href: docs/guide/index.qmd
- text: Extensions
href: docs/extensions/index.qmd
- text: "Reference"
href: docs/reference/index.qmd
- text: "Gallery"
href: docs/gallery/index.qmd
- text: "Blog"
href: docs/blog/index.qmd
- text: "Help"
menu:
- text: "Report a Bug"
icon: "bug"
href: "https://github.com/quarto-dev/quarto-cli/issues"
- text: "Ask a Question"
icon: "chat-right-text"
href: "https://github.com/quarto-dev/quarto-cli/discussions"
- text: "FAQ"
icon: "question-circle"
href: docs/faq/index.qmd
tools:
- icon: twitter
href: https://twitter.com/quarto_pub
text: Quarto Twitter
- icon: github
href: https://github.com/quarto-dev/quarto-cli
text: Quarto GitHub
- icon: rss
href: https://quarto.org/docs/blog/index.xml
text: Quarto Blog RSS
sidebar:
- id: get-started
title: "Get Started"
style: "floating"
collapse-level: 2
align: left
contents:
- docs/get-started/index.qmd
- text: "Tutorial: Hello, Quarto"
href: docs/get-started/hello/
- text: "Tutorial: Computations"
href: docs/get-started/computations/
- text: "Tutorial: Authoring"
href: docs/get-started/authoring/
- id: guide
collapse-level: 1
contents:
- section: "Guide"
href: docs/guide/index.qmd
contents:
- section: "Authoring"
contents:
- docs/authoring/markdown-basics.qmd
- docs/authoring/figures.qmd
- docs/authoring/tables.qmd
- docs/authoring/diagrams.qmd
- docs/authoring/videos.qmd
- text: "Jupyter Notebooks"
href: docs/authoring/notebook-embed.qmd
- docs/authoring/callouts.qmd
- docs/authoring/code-annotation.qmd
- docs/authoring/article-layout.qmd
- section: "Scholarly Writing"
contents:
- docs/authoring/front-matter.qmd
- docs/authoring/title-blocks.qmd
- docs/authoring/footnotes-and-citations.qmd
- docs/authoring/cross-references.qmd
- docs/authoring/create-citeable-articles.qmd
- docs/authoring/appendices.qmd
- section: "Computations"
contents:
- docs/computations/python.qmd
- docs/computations/r.qmd
- docs/computations/julia.qmd
- docs/computations/ojs.qmd
- docs/computations/execution-options.qmd
- docs/computations/parameters.qmd
- section: "Tools"
contents:
- section: "JupyterLab"
contents:
- text: "JupyterLab Basics"
href: docs/tools/jupyter-lab.qmd
- text: "JupyterLab Extension"
href: docs/tools/jupyter-lab-extension.qmd
- section: "RStudio IDE"
contents:
- text: "RStudio Basics"
href: docs/tools/rstudio.qmd
- section: "Visual Editor"
href: docs/visual-editor/index.qmd
contents:
- text: Editor Basics
href: docs/visual-editor/index.qmd
- docs/visual-editor/technical.qmd
- docs/visual-editor/content.qmd
- docs/visual-editor/options.qmd
- docs/visual-editor/markdown.qmd
- section: "VS Code"
href: docs/tools/vscode.qmd
contents:
- text: "VS Code Basics"
href: docs/tools/vscode.qmd
- text: "Visual Editor"
href: docs/visual-editor/vscode/index.qmd
- text: "Notebook Editor"
href: docs/tools/vscode-notebook.qmd
- docs/tools/neovim.qmd
- docs/tools/text-editors.qmd
- section: "Documents"
contents:
- section: "HTML"
contents:
- docs/output-formats/html-basics.qmd
- docs/output-formats/html-code.qmd
- docs/output-formats/html-themes.qmd
- docs/output-formats/html-multi-format.qmd
- docs/output-formats/html-publishing.qmd
- section: "PDF"
contents:
- docs/output-formats/pdf-basics.qmd
- docs/output-formats/pdf-engine.qmd
- section: "MS Word"
contents:
- docs/output-formats/ms-word.qmd
- docs/output-formats/ms-word-templates.qmd
- section: "Markdown"
contents:
- docs/output-formats/gfm.qmd
- docs/output-formats/hugo.qmd
- docs/output-formats/docusaurus.qmd
- docs/output-formats/all-formats.qmd
- section: "Presentations"
contents:
- text: "Overview"
href: docs/presentations/index.qmd
- section: docs/presentations/revealjs/index.qmd
contents:
- text: "Reveal Basics"
href: docs/presentations/revealjs/index.qmd
- docs/presentations/revealjs/presenting.qmd
- docs/presentations/revealjs/advanced.qmd
- docs/presentations/revealjs/themes.qmd
- docs/presentations/powerpoint.qmd
- docs/presentations/beamer.qmd
- section: "Websites"
href: docs/websites/website-basics.qmd
contents:
- docs/websites/website-basics.qmd
- docs/websites/website-navigation.qmd
- docs/websites/website-blog.qmd
- docs/websites/website-search.qmd
- docs/websites/website-tools.qmd
- docs/websites/website-about.qmd
- section: "Listing Pages"
href: docs/websites/website-listings.qmd
contents:
- docs/websites/website-listings.qmd
- docs/websites/website-listings-custom.qmd
- section: "Books"
href: docs/books/book-basics.qmd
contents:
- docs/books/book-basics.qmd
- docs/books/book-structure.qmd
- docs/books/book-crossrefs.qmd
- text: "Customizing Output"
href: docs/books/book-output.qmd
- section: "Interactivity"
contents:
- text: "Overview"
href: docs/interactive/index.qmd
- section: docs/interactive/ojs/index.qmd
contents:
- text: "Introduction"
href: docs/interactive/ojs/index.qmd
- docs/interactive/ojs/libraries.qmd
- docs/interactive/ojs/data-sources.qmd
- docs/interactive/ojs/ojs-cells.qmd
- docs/interactive/ojs/shiny.qmd
- docs/interactive/ojs/code-reuse.qmd
- section: "Examples"
contents:
- docs/interactive/ojs/examples/penguins.qmd
- docs/interactive/ojs/examples/sunburst.qmd
- docs/interactive/ojs/examples/arquero.qmd
- docs/interactive/ojs/examples/population.qmd
- docs/interactive/ojs/examples/noaa-co2.qmd
- docs/interactive/ojs/examples/github.qmd
- docs/interactive/ojs/examples/layout.qmd
- section: "Shiny"
contents:
- text: "K-Means"
href: https://jjallaire.shinyapps.io/kmeans-shiny-ojs/
- text: "Binning"
href: https://jjallaire.shinyapps.io/binning-shiny-ojs/
- text: "Data Binding"
href: https://jjallaire.shinyapps.io/data-shiny-ojs/