Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
print: val => {
return toDiffableHtml(val).trim();
},
});
const getHTML = (code, config, evalInContext) => {
const component = compileComponent(code, config, evalInContext);
const markup = renderToStaticMarkup(component);
return diffableHtml(markup).trim();
};