Skip to content

Nearform theme for sli.dev presentations

License

Notifications You must be signed in to change notification settings

nearform/slidev-theme-nearform

Repository files navigation

Nearform Slidev Theme

This repository contains the slidev theme for Nearform presentations and workshops.

Usage

Steps to use this theme:

  • Install the theme using npm i --save slidev-theme-nearform
  • Add these scripts to your package.json
        "build": "slidev build",
        "start": "slidev --open",
  • Add the following line to slides.md
    ---
    theme: slidev-theme-nearform
    ---

Extra tips

Intro slide

If you want to have an image in the intro slide, you can modify the slides.md header section:

---
theme: slidev-theme-nearform
layout: image-right
image: https://source.unsplash.com/collection/94734566/1920x1080
---

The URL used in this example will return a different image every time, selected from a curated collection. But, ideally, you should set a local file path for the specified image.

If you don't want to set an image, use layout: default.