@favware/syntax-highlighter-core
Version:
A lightweight, easy-to-use and framework agnostic syntax highlighter for your code snippets.
22 lines (16 loc) • 670 B
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
const index = require('./index-e91bf92f.js');
/*
Stencil Client Patch Esm v2.5.2 | MIT Licensed | https://stenciljs.com
*/
const patchEsm = () => {
return index.promiseResolve();
};
const defineCustomElements = (win, options) => {
if (typeof window === 'undefined') return Promise.resolve();
return patchEsm().then(() => {
return index.bootstrapLazy([["syntax-highlighter.cjs",[[4,"syntax-highlighter",{"content":[1537],"theme":[1537],"language":[1537],"copyButtonLabel":[1537,"copy-button-label"]}]]]], options);
});
};
exports.defineCustomElements = defineCustomElements;