Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 710 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 710 Bytes

oj.markdown

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

Use Plugin:

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

Usage coffee-script

oj.use require 'oj.markdown'

html ->
  head ->
  body ->
    markdown """
      # Header

      Paragraph goes here

      * Bulleted
      * List
      * Goes
      * Here
    """

Settings

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