Methods

(async) factory(pkgName) → {class}

Plugin factory. A thin wrapper for the marked library.

Never call this function directly!!! It's only-meant to be called by the Bajo framework during plugin initialization.

Parameters:
NameTypeDescription
pkgNamestring

NPM package name

Returns:

BajoMarkdown

Type: 
class