Skip to content

Commit 45b8940

Browse files
cgraham-rsdotNomad
andauthored
Add quarto-presentation (#94)
* Migrate jump start quarto-presentation * Add workflow filter * Remove R project files, update manifest * Add quarto environment * Use example category * Remove missing files from manifest --------- Co-authored-by: Jordan Jensen <[email protected]>
1 parent bbc433a commit 45b8940

File tree

6 files changed

+123
-0
lines changed

6 files changed

+123
-0
lines changed

.github/workflows/extensions.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
top-5-income-share-bokeh: extensions/top-5-income-share-bokeh/**
4242
landing-page: extensions/landing-page/**
4343
stock-api-fastapi: extensions/stock-api-fastapi/**
44+
quarto-presentation: extensions/quarto-presentation/**
4445
connectwidgets-example: extensions/connectwidgets-example/**
4546
plumbertableau-example: extensions/plumbertableau-example/**
4647
fastapitableau-example: extensions/fastapitableau-example/**
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/.quarto/
2+
index.html
3+
index_files
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Quarto Presentation
2+
3+
## About this example
4+
5+
This presentation is generated using Quarto and reveal.js. It demonstrates
6+
how you might use code to highlight your work.
7+
8+
9+
## Learn more
10+
11+
* [Quarto](https://quarto.org)
12+
* [reveal.js](https://revealjs.com)
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
project:
2+
title: Quarto Presentation
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
title: Quarto Presentation
3+
author: Tidy Writer
4+
date: today
5+
format:
6+
revealjs:
7+
footer: "Example Footer"
8+
---
9+
10+
## Overview
11+
12+
* Quarto supports a number of [presentation
13+
formats](https://quarto.org/docs/presentations/).
14+
15+
* This presentation uses
16+
[reveal.js](https://quarto.org/docs/presentations/revealjs/).
17+
18+
* Quarto presentations can include
19+
[diagrams](https://quarto.org/docs/authoring/diagrams.html).
20+
21+
* Quarto presentations can include [interactive
22+
elements](https://quarto.org/docs/interactive/).
23+
24+
## Workflow
25+
26+
::: aside
27+
A diagram created using
28+
[Mermaid](https://quarto.org/docs/authoring/diagrams.html).
29+
:::
30+
31+
```{mermaid}
32+
stateDiagram-v2
33+
[*] --> tidy
34+
tidy --> analyze
35+
analyze --> tidy
36+
analyze --> write
37+
write --> review
38+
review --> write: feedback
39+
review --> accepted
40+
accepted --> [*]
41+
```
42+
43+
## Height of Olympians
44+
45+
::: aside
46+
An interactive element created with [Observable
47+
JS](https://quarto.org/docs/interactive/ojs/).
48+
:::
49+
50+
```{ojs}
51+
// https://observablehq.com/@observablehq/sample-datasets
52+
Plot.plot({
53+
marks: [
54+
Plot.rectY(olympians, Plot.binX({y: "count"}, {x: "height"})),
55+
Plot.ruleY([0])
56+
],
57+
x: { label: "Height (m)" },
58+
})
59+
```
60+
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"version": 1,
3+
"locale": "en_US",
4+
"platform": "4.4.0",
5+
"metadata": {
6+
"appmode": "quarto-static",
7+
"primary_rmd": "index.qmd",
8+
"primary_html": null,
9+
"content_category": null,
10+
"has_parameters": false
11+
},
12+
"extension": {
13+
"name": "quarto-presentation",
14+
"title": "Quarto Presentation",
15+
"description": "This presentation is generated using Quarto and reveal.js. It demonstrates how you might use code to highlight your work.",
16+
"homepage": "https://github.com/posit-dev/connect-extensions/tree/main/extensions/quarto-presentation",
17+
"category": "example",
18+
"minimumConnectVersion": "2025.04.0",
19+
"version": "1.0.0"
20+
},
21+
"environment": {
22+
"quarto": {
23+
"requires": "~=1.6"
24+
}
25+
},
26+
"quarto": {
27+
"version": "1.6.42",
28+
"engines": [
29+
"markdown"
30+
]
31+
},
32+
"packages": null,
33+
"files": {
34+
"_quarto.yml": {
35+
"checksum": "80f9dca03266ef4fbfef85e1f8be2699"
36+
},
37+
"index.qmd": {
38+
"checksum": "fb7df1cb7f52c2d0502281e9bc0e31ee"
39+
},
40+
"README.md": {
41+
"checksum": "725f7b7c6d298b276d7e9261d0ec8a61"
42+
}
43+
},
44+
"users": null
45+
}

0 commit comments

Comments
 (0)