From b3549ffc516b3aa922a5a66d2e0dbbd145f28f03 Mon Sep 17 00:00:00 2001 From: Hypercubed Date: Sun, 22 Jul 2018 10:46:42 -0600 Subject: Spelling and extra test --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'README.md') 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 }', } ``` -- cgit v1.2.3