Slidev theme for OxRSE training presentations.
Add the theme to your package.json (be careful to match the package name to comply with slidev conventions):
"dependencies": {
"slidev-theme-oxrse": "github:OxfordRSE/oxrse-theme-slidev",
}
Then, simply add the following frontmatter to your slides.md:
---
theme: oxrse
---Or any relative paths pointing to the theme.
Title page displaying the training event. The date can be populated from event
schedule specified by TRAINING_EVENT during build or as frontmatter fields.
---
layout: cover
year: 2026
sessions:
- date: "31 Dec"
slot: morning
topic: Training event 3
---Frontmatter fields:
| Field | Type | Default | Description |
|---|---|---|---|
date |
String | auto from schedule | Override the displayed date |
year |
Number | from schedule or current year | Year used when formatting date from session lookup |
sessions |
Array | null (uses event schedule) |
Inline session list for date lookup |
Displays the full event schedule as a table and highlights the current
session when highlight matches a topic name.
---
layout: orientation
highlight: Training Event 3
sessions:
- date: "31 Dec"
slot: morning
topic: Training event 3
---Frontmatter fields:
| Field | Type | Default | Description |
|---|---|---|---|
highlight |
String | '' |
Topic name to highlight in the table |
sessions |
Array | from TRAINING_EVENT YAML |
Inline session list to override the event schedule |
---
layout: section
---
# Section titleStandard content slide. All non-cover slides include the global header.
It shows the title of the slide at the top left and the logos of University of
Oxford and OxRSE at the top right. This is handled by global-top.vue.
Set the TRAINING_EVENT environment variable to load a schedule from
common/events/<NAME>.yaml:
TRAINING_EVENT='current-training-event' npx slidev slides.md # look for common/events/current-training-event.yaml- The cover layout populates its date from the matching session.
- The orientation layout populates the full session table.
When TRAINING_EVENT is not set, the orientation layout shows an empty table.
You can disable it with disabled: true in the frontmatter.
npx slidev export example.md --format png --output screenshots/layout --per-slideThe example presentation is example.md.
MIT © 2026 OxRSE



