Skip to content

Commit 69770cb

Browse files
authored
Merge pull request #7 from pythonhealthdatascience/dev
Dev
2 parents 1dc8ace + d2e1dbd commit 69770cb

27 files changed

Lines changed: 799 additions & 12 deletions

_quarto.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ website:
2121
contents:
2222
- text: Welcome
2323
href: index.qmd
24+
- pages/agenda/index.qmd
2425
- text: "Slides: Why make a website for your research?"
2526
href: pages/why/index.qmd
2627
- section: "Tutorial"
@@ -33,6 +34,7 @@ website:
3334
- pages/media/index.qmd
3435
- pages/inline_html/index.qmd
3536
- pages/customising/index.qmd
37+
- pages/hosting/index.qmd
3638
- pages/task/index.qmd
3739
- section: "Optional extras"
3840
contents:

pages/agenda/index.qmd

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
title: Workshop agenda
3+
---
4+
5+
This is the companion website for the workshop. You will use it during the exercises, and you can refer back to it afterwards. It contains written instructions that match what we cover in the session, plus some extra material.
6+
7+
To open this site go to:
8+
9+
<https://tinyurl.com/quarto2026>
10+
11+
![](quarto2026-qr.png){fig-alt="QR code"}
12+
13+
## Session plan
14+
15+
1. **Introduction:**
16+
Short talk and demo showing how Quarto can be used in research.
17+
18+
2. **Practical set-up and first commit:**
19+
- Create or log in to a GitHub account
20+
- Open the Quarto template in GitHub Codespaces
21+
- Render the site, make a small change, and commit it to Git
22+
23+
3. **Break**
24+
25+
4. **Guided exercises:**
26+
Work through a series of short exercises to practice:
27+
- Markdown basics
28+
- Media (images, videos, documents)
29+
- Customising the appearance of your site
30+
- And a few other core features
31+
32+
33+
5. **Hosting:**
34+
Finally, we will explain how to host your site online via GitHub Pages.
35+
36+
## What to expect
37+
38+
We have a varied cohort: some of you may already have seen GitHub, Markdown, or Quarto, and for others this will all be completely new. The workshop is designed to be accessible if you are new to these tools, so please do not worry if the terminology is unfamiliar at first.
39+
40+
If you find you move quickly through the core exercises, there are extra pages later in this site where you can explore some more advanced concepts including:
41+
42+
- **Task listings** (e.g. blog‑style or gallery‑style listings)
43+
- **Sass and CSS**
44+
- Running and embedding **code** in Quarto.
45+
46+
These are optional and aimed at those who already feel confident with the basics.
47+
48+
You can also browse the **Examples** page, which shows a range of real Quarto sites. Each example has a link to the live site and, via the GitHub icon in the top right, a link to the source code so you can see how it was built.

pages/agenda/quarto2026-qr.png

12.4 KB
Loading

pages/basic_structure/index.qmd

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ book:
8080
chapters:
8181
- text: Overview
8282
href: index.qmd
83-
- pages/TODO.qmd
83+
- pages/pagename.qmd
8484
navbar:
8585
right:
8686
- icon: github
@@ -98,11 +98,19 @@ A `.qmd` file is a **Quarto Markdown** document. It mixes metadata at the top, t
9898

9999
> If you're familiar with R Markdown (`.Rmd`), these are similar, but `.qmd` is more flexible.
100100

101-
Each `.qmd` file begins with **YAML front matter**, enclosed by three dashes (`---`). This defines metadata such as the page title. Below that is the page. Here we just have one sentence: `This is my homepage.`.
101+
Each `.qmd` file begins with **YAML front matter**, enclosed by three dashes (`---`). This defines metadata such as the page title, author information and date. Below that is the main content of the page. Here we just have one sentence: `This is my homepage.`.
102102

103-
```{.r}
103+
```{.yaml}
104104
---
105105
title: My homepage
106+
author:
107+
- name: Amy Heather
108+
orcid: 0000-0002-6596-3479
109+
affiliations: University of Exeter
110+
- name: Thomas Monks
111+
orcid: 0000-0003-2631-4481
112+
affiliations: University of Exeter
113+
date: 06-01-2026
106114
---
107115
108116
284 KB
Loading
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: Example 1
3+
---
4+
5+
This page has a picture of a butterfly.
6+
7+
![Butterfly](butterfly.jpg)
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: Example 2
3+
---
4+
5+
This page has a picture of a squirrel.
6+
7+
![Squirrel](squirrel.jpg)
422 KB
Loading
346 KB
Loading
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: Example 3
3+
---
4+
5+
This page has a picture of a cat.
6+
7+
![Cat](cat.jpg)

0 commit comments

Comments
 (0)