@favware/syntax-highlighter-core
Version:
A lightweight, easy-to-use and framework agnostic syntax highlighter for your code snippets.
18 lines (14 loc) • 588 B
JavaScript
import { p as promiseResolve, b as bootstrapLazy } from './index-35db2fdf.js';
/*
Stencil Client Patch Esm v2.5.2 | MIT Licensed | https://stenciljs.com
*/
const patchEsm = () => {
return promiseResolve();
};
const defineCustomElements = (win, options) => {
if (typeof window === 'undefined') return Promise.resolve();
return patchEsm().then(() => {
return bootstrapLazy([["syntax-highlighter",[[4,"syntax-highlighter",{"content":[1537],"theme":[1537],"language":[1537],"copyButtonLabel":[1537,"copy-button-label"]}]]]], options);
});
};
export { defineCustomElements };