madflow / flow-netbeans-markdown

Markdown file support for the NetBeans IDE
MIT License
278 stars 40 forks source link

Encapsulated HTML rendering of Markdown source in an API #39

Closed stengerh closed 10 years ago

stengerh commented 10 years ago

This patch introduces an API for rendering the content of the file as HTML. The API consists of the interface Renderable which is available from the lookup of a Markdown data object.

The API encapsulates getting the file content, creating the PegDown parser and access to the global Markdown options. API users can specify several options to

This patch also updates the preview pane, preview action and export action to make use of the new API.