Markdown.parseDocmetaTags()

Parse data encoded via <docmeta> tags in a Markdown string.

Usage

Hover over inputs/exits for more info.

var Markdown = require('machinepack-markdown');


// Parse data encoded via tags in a Markdown string.

Markdown.parseDocmetaTags({

mdString: '# hello world\n it\'s me, \n some string \n\n',

}).execSync();

Inputs

mdString required

Markdown string to parse

'# hello world\n it\'s me, <docmeta name="foo" value="bar"/> \n some string \n\n'

Exits

error

An unexpected error occurred.

success

OK.

{}