    ---
    import type { ShikiConfig } from "astro";
    import { Code } from "astro/components";
    export interface Props {
    	code: string;
    	filename?: string;
    	lang?: "astro" | "js" | "python" | "css" | "ts";
    	url?: string;
    	theme?: ShikiConfig["theme"];
    	showGrid?: boolean;
    }
    const {
    	code,
    	theme = "poimandres",
    	filename,
    	url = "",
    	lang = "astro",
    	showGrid = false,
    } = Astro.props as Props;
    ---
{filename} code example
{ showGrid && (
) }
{url}

### {filename}

``