Update README.md

This commit is contained in:
Preet
2020-06-16 00:50:26 -07:00
committed by GitHub
parent 79ea2f95ac
commit 519f66a217

View File

@@ -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' });