4.0.0-1 • Published 7 years ago

nxus-md-renderer v4.0.0-1

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

Nxus Markdown Renderer

This module provides a Nxus module for rendering Markdown Content.

Don't know Nxus? Learn about it.

Installation

> npm install nxus-md-renderer --save

Usage

In order to use the renderer, request the Renderer.render method with either 'md' or 'markdown' as the type.

var renderer = app.get('renderer')
renderer.request('render', 'md', '### Some Markdown Content').then((content) => {
  console.log(content)
})