svelte-rune-highlight
Version:
A highlight library for Svelte 5 with Rune
18 lines (17 loc) • 510 B
TypeScript
import type { HTMLAttributes } from 'svelte/elements';
interface Props extends HTMLAttributes<HTMLPreElement> {
code?: string;
langtag?: boolean;
class?: string;
}
/**
* [Go to docs](https://svelte-rune-highlight.codewithshin.com/)
* ## Props
* @prop code = ''
* @prop langtag = false
* @prop class: className
* @prop ...restProps
*/
declare const HighlightAuto: import("svelte").Component<Props, {}, "">;
type HighlightAuto = ReturnType<typeof HighlightAuto>;
export default HighlightAuto;