diff --git a/src/components/CodeInclude.astro b/src/components/CodeInclude.astro new file mode 100644 index 00000000..57f815a9 --- /dev/null +++ b/src/components/CodeInclude.astro @@ -0,0 +1,35 @@ +--- +import { Code } from '@astrojs/starlight/components'; + +export interface Props { + code: string; + lang?: string; + meta?: string; + locale?: string; + title?: string; + frame?: 'none'; + mark?: string; + ins?: string; + del?: string; + collapse?: string; + collapsePreserveIndent?: true; + showLineNumbers?: false; + startLineNumber?: 1; + wrap?: false; + preserveIndent?: true; +} + +const props = Astro.props; +--- + +
+