Skip to content

rumkin/iomd

Repository files navigation

IOMD Parser

Mozilla's IOMD format standalone parser.

Usage

npm i iomd

Use parser:

const iomd = require('iomd');

const chunks = iomd.parse(`
%% markdown
# IOMD

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

%% js

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

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

License

MIT © Rumkin

About

Parse Mozilla's Iodide project markdown (IOMD)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published