Skip to content

jerdog/jerdog-base-talk-slidev

Repository files navigation

Jeremy's base Slidev talk deck

Dependencies

Using & Development

  1. [Fork] (https://github.com/jerdog/jerdog-base-talk-slidev/fork) the repo to your organization

  2. Clone the repo

git clone <your fork>
cd <your local fork directory>
  1. Install dependencies and run the dev server
npm install
npm run dev
  1. View the base: http://localhost:3030

  2. Edit the slides.md file and then save to see the changes.

Learn more about Slidev at the documentation.

Config items

Main presentation

For the presentation config, edit the specific YAML entries in the slides.md frontmatter:

  • theme: by default using the slidev-theme-the-unnamed theme
  • title:
  • author:
  • info: this block is markdown and is where to put basic info (title, abstract, etc.)
  • conference: put the conference name, which will be used in the left footer of the presentation
  • keywords: put the keywords for the presentation
  • favicon: put the favicon for the presentation, can be a local file or a URL

Other config items

  • fonts: a list of values for the font types (sans, serif, mono) to use in the presentation
  • class: the default class for the presentation
  • defaults: default frontmatter for the presentation (layout, transition, etc.)

Presentation slides

The slides are written in markdown and HTML, and each slide begins with a --- line. You can use frontmatter to add additional information to the slide by adding it after the --- line, and then closing the frontmatter with another --- line.

You can add specific config for each slide like class, layout, transition, etc.

Addons

There are a few addons which make sense for these slides, and you include them in the presentation by adding them to the addons list in the slides.md frontmatter:

addons:
    - slidev-addons-rabbit
  • slidev-addon-qrcode - add a QR code to the slide Note: use the <div> with the class to center the rendered qr code. Remove the image="/logo.svg" parameter if you don't want a logo in the center.
<div class="flex flex-col items-center">
    <QRCode
        :width="100"
        :height="100"
        type="svg"
        data="https://sli.dev"
        :margin="10"
        :imageOptions="{ margin: 10 }"
        :dotsOptions="{ type: 'extra-rounded', color: 'purple' }"
        image="/logo.svg"
    />
</div>
  • slidev-addon-rabbit - add a rabbit at the bottom of the slide which progresses from left to right according to the time you have set with the ?time=xx with xx being the number of minutes for the presentation. If you want the slide number to be shown with the rabbit, add the following to the slide config frontmatter:
rabbit:
  slideNum: true

LICENSE

MIT License

Copyright (c) 2024-25 Jeremy Meiss.

About

Base template for talks I build with Slidev

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published