Encapsulated HTML rendering of Markdown source in an API.
Changed extraction of document text to use proper synchronization mechanism.
Merge pull request #39 from stengerh/render-api

Encapsulated HTML rendering of Markdown source in an API