My JavaScript book is out!
Don't miss the opportunity to upgrade your beginner or average dev skills.

Saturday, April 13, 2013

tinydown test

OK ladies & gentlemen, time to test [tinydown](https://github.com/WebReflection/tinydown#tinydown) for real.
### What's New
Well, first of all there are [35 tests](http://webreflection.github.io/tinydown/test/) with nice and/or screwed input and an expected output to complete the library so that any improvement or change will not compromise what's already working.
The second thing is ... **I am using tinydown now**!
You can check the source page of this post and see that all it contains is markdown.
### What's Different
There at least two things different:
* it supports more inside the image markup, such youtube and gists
* it supports twitter handlers, like @WebReflection
* even if so damn small, like less _than 2Kb_ minzipped, it supports nested blockquotes and lists
`inline code` is also available together with triple tick syntax and/or tab and spaces so that
var code = 'can be be written multiline';
function alCodeIsPreserved() {
with(out) {
alert('problems');
}
}
I also implemented only here the highlighter for js so
```js
var code = this.should();
code.look('gorgeous');
```
### What's Missing
I don't know yet, I think almost everything I need for blogging should be there.
The library is compatible with both _node.js_ and web browsers, of course, and if tests are green you should good to use it runtime in your blog too or any other place you think.
Last but not least, you can **test everything** you want in [this page](http://webreflection.github.io/tinydown/test/test.html live test) and eventually file bugs copying the generated link with your content so it will be straight forward to see what's broken, the why and the how.
Have fun!