This package has been deprecated

Author message:

Use iomd instead

jsmd-parser

0.3.0 • Public • Published

JSMD Parser

Mozilla's JSMD format standalone parser.

Usage

npm i jsmd-parser

Use parser:

const jsmd = require('jsmd-parser');

const chunks = jsmd.parse(`
%% markdown
# JSMD

JSMD is a text container created to mix JS, Markdown, LaTeX and any other
text format in one file. It's developed by Mozilla for
[Iodide](https://iodide-project.github.io) project.

%% js

console.log('This part of JS mixed with markdown');
`);

Method parse returns an array of Chunks. Each Chunk has properties type, flags, index, startLine, endLine and content.

License

MIT © Rumkin

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Published

Version History

  • Version
    Downloads (Last 7 Days)
    • Published

Package Sidebar

Install

npm i jsmd-parser

Weekly Downloads

2

Version

0.3.0

License

MIT

Unpacked Size

5.76 kB

Total Files

6

Last publish

Collaborators

  • rumkin