@emdaer/core ·
emdaer core
Usage
emdaer core is the core emdaer package – see the emdaer monorepo for more information
Documentation
executePlugins
Finds and executes plugins
Parameters
-
content
string
executePlugin
Executes a plugin to generate content
Parameters
-
$0
any-
$0.0
-
$0.1
-
resolvePlugin
Loads a provided plugin
Parameters
-
pluginName
string
Returns Plugin
EmdaerError
Extends Error
Parameters
-
code
string -
args
…any
applyTransforms
Applies transforms to generated content
Parameters
applyTransform
Applies a transform to generated content
Parameters
resolveTransform
Loads a provided transform
Parameters
-
transformName
string
Returns Transform
identifyTransforms
Identifies transforms
Parameters
-
content
string
Returns Promise<Array<string>>
fixCodeFences
Applies transforms to generated content
Parameters
-
content
string
Returns string