svelte-rune-highlight
Version:
A highlight library for Svelte 5 with Rune
21 lines (20 loc) • 492 B
TypeScript
interface Props {
code?: string;
highlighted?: string;
languageName?: string;
langtag?: boolean;
preClass?: string;
}
/**
* [Go to docs](https://svelte-rune-highlight.codewithshin.com/)
* ## Props
* @prop code
* @prop highlighted
* @prop languageName = 'plaintext'
* @prop langtag = false
* @prop preClass
* @prop ...restProps
*/
declare const LangTag: import("svelte").Component<Props, {}, "">;
type LangTag = ReturnType<typeof LangTag>;
export default LangTag;