UNPKG

@composable-svelte/code

Version:

Code editor, syntax highlighting, and node-based canvas components for Composable Svelte - Built with Prism.js, CodeMirror, and SvelteFlow

10 lines 494 B
/** * CodeHighlight - Read-only syntax highlighting component * * @module code-highlight */ export { default as CodeHighlight } from './CodeHighlight.svelte'; export { codeHighlightReducer } from './code-highlight.reducer'; export { highlightCode, loadLanguage } from './prism-wrapper'; export { createInitialState, type CodeHighlightState, type CodeHighlightAction, type CodeHighlightDependencies, type SupportedLanguage } from './code-highlight.types'; //# sourceMappingURL=index.d.ts.map