Drawing & Annotations

Available since v0.23

We have drauu built-in for drawing and annotation that could enhance your presentation further.

To start, click the icon in the toolbar and start drawing. It's also available in the Presenter Mode. Drawings and annotations you created will be synced up automatically across all instances in real-time.

Use with Stylus Pen

When using a stylus pen on a tablet (for example, iPad with Apple Pencil), Slidev could smartly detect the input type. You can directly draw on your slides with the pen without turning on the drawing mode, while having your fingers or mouse control the navigation.

Persist Drawings

The following frontmatter configuration allows you to persist your drawings as SVGs under .slidev/drawings directory and have them inside your exported pdf or hosted site.

---
drawings: 
  persist: true
---

Disable Drawings

Entirely:

---
drawings: 
  enabled: false
---

Only in Development:

---
drawings: 
  enabled: dev
---