From 5798f840c476071b135ba161f652a71ea8321910 Mon Sep 17 00:00:00 2001 From: Jack Moore Date: Wed, 25 Feb 2015 20:18:12 -0500 Subject: [PATCH] fixed markdown formatting --- changelog.md | 5 +---- readme.md | 1 + 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/changelog.md b/changelog.md index f16c67f..13c8316 100644 --- a/changelog.md +++ b/changelog.md @@ -3,10 +3,7 @@ ##### v.2.0.0 - 2015-02-25 * smaller, simplier code-base -* new API. Example usage: - - autosize(document.querySelectorAll(textarea)); - +* new API. Example usage: `autosize(document.querySelectorAll(textarea));` * dropped jQuery dependency * dropped IE7-IE8 support * dropped optional parameters diff --git a/readme.md b/readme.md index e6552d0..3c5c2ee 100644 --- a/readme.md +++ b/readme.md @@ -82,6 +82,7 @@ var ta = document.querySelector('textarea'); ta.addEventListener('autosize.resized', function(){ console.log('textarea height updated'); }); +``` ### Differences between v2 and v1