Eduki/eduki — pull request #108 by DavidMah (2013-05-31 06:13:36+00:00)
Title: Markdown Preview

@edsamson
* Added lib/MarkdownWriter, utility module for dealing with markdown
* Added Api::UtilityController, to be used for miscellaneous API
endpoints not related to any models
* Added new API endpoint to preview markdown parsed html

```bash
➜ eduki git:(api-lesson-preview) ✗ curl localhost:3000/api/utility/preview --data "body=apple"
{"body_markdown":"

apple

\n"}%
➜ eduki git:(api-lesson-preview) ✗ curl localhost:3000/api/utility/preview --data "body=# apple"
{"body_markdown":"

apple

\n"}%
➜ eduki git:(api-lesson-preview) ✗ curl localhost:3000/api/utility/preview --data "body=## apple"
{"body_markdown":"

apple

\n"}%
```