mirror of
https://github.com/slidevjs/rough-notation.git
synced 2026-01-14 09:44:21 +01:00
Update README.md
This commit is contained in:
@@ -37,6 +37,8 @@ Once you have the annotation object, you can call `show()` on it to show the ann
|
||||
|
||||
```javascript
|
||||
import { annotate } from 'rough-notation';
|
||||
// Or using unpkg
|
||||
// import { annotate } from 'https://unpkg.com/rough-notation?module';
|
||||
|
||||
const e = document.querySelector('#myElement');
|
||||
const annotation = annotate(e, { type: 'underline' });
|
||||
|
||||
Reference in New Issue
Block a user