aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index b99c00d..c5f74cb 100644
--- a/README.md
+++ b/README.md
@@ -21,7 +21,7 @@ The syntax is common :
const parseAttr = require('markdown-attribute-parser');
-parseAttr('{ widgth=500px editable=true }');
+parseAttr('{ width=500px editable=true }');
parseAttr('height=500px');
```
@@ -39,7 +39,7 @@ The output is an object of the form :
For example this code will output :
```js
-parseAttr('{ widgth=500px editable=true #unicorn .dangerous .cute }');
+parseAttr('{ width=500px editable=true #unicorn .dangerous .cute }');
```
```js
@@ -47,10 +47,10 @@ parseAttr('{ widgth=500px editable=true #unicorn .dangerous .cute }');
prop: {
class: ['dangerous', 'cute'],
id: 'unicorn',
- widgth: '500px',
+ width: '500px',
editable: 'true',
},
- eaten: '{ widgth=500px editable=true #unicorn .dangerous .cute }',
+ eaten: '{ width=500px editable=true #unicorn .dangerous .cute }',
}
```