Skip to content

juliendargelos/multimarkdown-6-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MultiMarkdown 6 JS

JavaScript wrapper for multimarkdown executable, requires make and cmake for building.

Install

yarn add multimarkdown-6

Usage

From cli
multimarkdown [-bfscarm] [--help] [--version] [--random] [--unique] [--nosmart]
              [--nolabels] [--notransclude] [--opml] [--itmz] [-t FORMAT]
              [-o FILE] [-l LANG] [-e KEY] [<FILE>]...

See Documentation

From node
import multimarkdown from 'multimarkdown-6'

;(async () => {
  console.log(await multimarkdown({ source: '# Lorem' }))
  console.log(await multimarkdown({ path: 'readme.md' }))
  console.log(await multimarkdown({ path: ['a.md', 'b.md'] }))
})()

console.log(multimarkdown.sync({ source: '# Lorem' }))
console.log(multimarkdown.sync({ path: 'readme.md' }))
console.log(multimarkdown.sync({ path: ['a.md', 'b.md'] }))

In additions to the source and path parameters which are used as input, all multimarkdown cli options are available with the same name.

About

JavaScript wrapper for multimarkdown executable

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published