MCPcopy
hub / github.com/webpro/reveal-md / getPreprocessor

Function getPreprocessor

lib/config.js:112–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110};
111
112export const getPreprocessor = async preprocessor => {
113 if (preprocessor) {
114 const { default: defaultFunc } = await import(pathToFileURL(preprocessor));
115 return defaultFunc;
116 }
117
118 return _.identity;
119};
120
121export const getPuppeteerLaunchConfig = () => {
122 const { puppeteerLaunchArgs, puppeteerChromiumExecutable } = mergedConfig;

Callers 1

renderFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected