Contributing to the Workshop
Quick Setup
Clone the repository
git clone https://github.com/yourusername/your-repo-name.git cd your-repo-nameInstall Quarto (if not already installed)
- Visit quarto.org for installation instructions
Edit your presentation
- Modify
template.qmdwith your content - Preview locally:
quarto preview template.qmd - Render locally:
quarto render template.qmd
- Modify
Customization Guide
Basic Content
- Update the YAML frontmatter with your details
- Add slides using
##for main sections and###for subsections - Use standard Markdown syntax for content
Theme Customization
- Modify colors in
_extensions/clean/clean.scss - Adjust the
$accentand$accent2variables for your brand colors - Customize fonts by updating the Google Fonts import
Advanced Features
- Add code blocks with syntax highlighting
- Include images:
 - Create columns: Use RevealJS column syntax
- Add animations: Use RevealJS fragment classes
Deployment
The presentation automatically deploys to GitHub Pages when you push to the main branch. The workflow:
- Triggers on push to main
- Sets up Quarto environment
- Renders the presentation
- Deploys to GitHub Pages
PDF Releases
PDF versions of the presentation are automatically generated and attached to GitHub releases:
- Automatic Release: Create a version tag (e.g.,
v1.0.0) to trigger PDF generation and release creation - Manual Release: Use the “Run workflow” button in the Actions tab for the “Build PDF and Create Release” workflow
- Generated PDF: The PDF is named
workshop_pkpd_antimicrobials.pdfand attached to the release
To create a new release with PDF:
git tag v1.0.0
git push origin v1.0.0Troubleshooting
Workflow Fails
- Check that GitHub Pages is enabled in repository settings
- Ensure the workflow has proper permissions
- Check the Actions tab for detailed error logs
Local Issues
- Verify Quarto is installed correctly
- Check that all image paths are correct
- Ensure YAML frontmatter is valid