@more-markdown/test-processor

0.1.10 • Public • Published

more-markdown / test-processor

A plugin for more-markdown that runs tests on the markdown contents.

Installation

You first need a more-markdown setup. Then you can install it via:

npm install @more-markdown/test-processor

Usage

var moreMarkdown = require('more-markdown');
var testProcessor = require('@more-markdown/test-processor');

// create a processor that writes the final html
// to the element with the id 'output'
var proc = moreMarkdown.create('output', processors: [testProcessor(...)]);

proc.render("```test" +
"it('should do X', function(){...})" +
"```");

Or have a look at the markdown-editor-example

Readme

Keywords

Package Sidebar

Install

npm i @more-markdown/test-processor

Weekly Downloads

6

Version

0.1.10

License

MIT

Last publish

Collaborators

  • more-markdown