We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7840f7d commit 6c4781fCopy full SHA for 6c4781f
README.md
@@ -14,7 +14,7 @@ $ npm install @github/paste-markdown
14
## Usage
15
16
```js
17
-import subscribe from '@github/paste-markdown'
+import {subscribe} from '@github/paste-markdown'
18
19
// Subscribe the behavior to the textarea.
20
subscribe(document.querySelector('textarea[data-paste-markdown]'))
@@ -27,7 +27,7 @@ be applied to any element matching a selector.
27
28
29
import {observe} from 'selector-observer'
30
31
32
// Subscribe the behavior to all matching textareas.
33
observe('textarea[data-paste-markdown]', {subscribe})
0 commit comments