markdown-ometa

0.1.1 • Public • Published

markdown-ometa

A Markdown processor in OMeta. This fork focuses on making an npm module out of the original editor demonstration.

Example Usage

var 
    md = require('markdown-ometa'),
    util = require('util')
 
var testString = '# Big Header\n\
## Sub Header\n\
### Sub Sub Header\n\
This *is a* paragraph, _really_. You must\n\
use **double** new lines to separate\n\
the paragraphs\n\n\
like this.\n\n```\nvar and = plus("Here\'s some code.")```\n'
 
init()
 
function init(){
    console.log(testString) // print the Markdown before it's processed
    console.log(util.inspect(md.parse(testString), { depth: 5 })) // print the processed Markdown
}

Contributors

  • Josh Marinacci (original author)
  • Page @Page-
  • Felix Breuer
  • krilnon (this fork)

See also

Readme

Keywords

none

Package Sidebar

Install

npm i markdown-ometa

Weekly Downloads

1

Version

0.1.1

License

MIT

Last publish

Collaborators

  • krilnon