| 1 | --- |
| 2 | name: drawing |
| 3 | description: Draw and annotate slides during presentation |
| 4 | --- |
| 5 | |
| 6 | # Drawing & Annotations |
| 7 | |
| 8 | Draw and annotate slides during presentation. Powered by drauu. |
| 9 | |
| 10 | ## Enable Drawing |
| 11 | |
| 12 | Click the pen icon in the navigation bar or press `C`. |
| 13 | |
| 14 | ## Stylus Support |
| 15 | |
| 16 | Stylus pens (iPad + Apple Pencil) work automatically - draw with pen, navigate with fingers. |
| 17 | |
| 18 | ## Persist Drawings |
| 19 | |
| 20 | Save drawings as SVGs and include in exports: |
| 21 | |
| 22 | ```md |
| 23 | --- |
| 24 | drawings: |
| 25 | persist: true |
| 26 | --- |
| 27 | ``` |
| 28 | |
| 29 | Drawings saved to `.slidev/drawings/`. |
| 30 | |
| 31 | ## Disable Drawing |
| 32 | |
| 33 | Entirely: |
| 34 | ```md |
| 35 | --- |
| 36 | drawings: |
| 37 | enabled: false |
| 38 | --- |
| 39 | ``` |
| 40 | |
| 41 | Only in development: |
| 42 | ```md |
| 43 | --- |
| 44 | drawings: |
| 45 | enabled: dev |
| 46 | --- |
| 47 | ``` |
| 48 | |
| 49 | Only in presenter mode: |
| 50 | ```md |
| 51 | --- |
| 52 | drawings: |
| 53 | presenterOnly: true |
| 54 | --- |
| 55 | ``` |
| 56 | |
| 57 | ## Sync Settings |
| 58 | |
| 59 | Disable sync across instances: |
| 60 | |
| 61 | ```md |
| 62 | --- |
| 63 | drawings: |
| 64 | syncAll: false |
| 65 | --- |
| 66 | ``` |
| 67 | |
| 68 | Only presenter's drawings sync to others. |
| 69 |