oj-markdown

Markdown plugin for oj

oj-markdown

A markdown plugin for oj.

This plugin creates easy oj access to the very impressive github.com/chjj/marked.

oj.use(require('oj-markdown'), settings);
html ->
  head ->
  body ->
    markdown """
      # Header

      Paragraph goes here

      - Bulleted
      - List
      - Goes
      - Here
    """

settings will be passed directly to the marked plugin which implements this. See their readme for more details.