diff options
author | Hypercubed <hypercubed@gmail.com> | 2018-07-22 10:46:42 -0600 |
---|---|---|
committer | Hypercubed <hypercubed@gmail.com> | 2018-07-22 10:46:42 -0600 |
commit | b3549ffc516b3aa922a5a66d2e0dbbd145f28f03 (patch) | |
tree | c36ab2eb32e2af4773b3ff11b4aea8c67d5f0c1f /README.md | |
parent | Use babel to transcompil (diff) |
Spelling and extra test
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 }', } ``` |