oj-markdown

Markdown plugin for oj

oj.markdown

A markdown plugin for oj. This plugin creates easy oj access to Christopher's very impressive github.com/chjj/marked.

oj.use(require('oj.markdown'), settings);
oj.use require 'oj.markdown'

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.