This is the official Slidev addon containing custom layouts, components, and styling for High-Performance Computing (HPC) presentations.
By installing this addon, you get access to all ICHEC corporate components without needing to clutter your presentation repository with .vue files.
Ensure you have your Slidev presentation repository initialized, then install this addon using pnpm:
If you want to installed the published version, use -
pnpm add -D slidev-addon-ichecSince it's in rapid development, we recommend directly installing via github, using -
pnpm add github:ICHEC/slidev-addon-ichecTo activate the addon, simply add it to the addons array in the frontmatter of your slides.md file:
---
theme: default
addons:
- slidev-addon-ichec
---
# My PresentationSlidev will automatically detect and import all the components. You can now use them directly in your markdown!
Here is a quick reference for the most commonly used components:
- Banners (
Banner)
Draw attention to warnings, tips, or success messages.
<Banner type="warning" title="Important Note">
Ensure you are connected to the cluster before running this command.
</Banner>
<AnimatedBanner title="Quiz Time" speed="30">
What is the theoretical peak performance?
</AnimatedBanner>- Gradient Text (
Gt)
Highlight specific text or inline math with ICHEC gradients.
Welcome to the <Gt from="blue" to="green">Future of $x^2$</Gt>.
<Gt block from="blue" to="yellow">
$$
E = mc^2
$$
</Gt>- Code Windows
Wrap standard markdown code fences in a beautiful macOS-style window.
<CodeWindow title="submit.sh" width="full">
```bash
#!/bin/bash
#SBATCH -N 1
#SBATCH -p compute
srun ./my_program
```
</CodeWindow>For the complete visual documentation and component showcase, please see the ICHEC's template showcase.
This project is licensed under the Apache License 2.0.