Local metadata link commit at 2025-06-06 15:40:57 — file:///home/mrhavens/git-local-repos/git-sigil.git
This commit is contained in:
commit
b548318725
134 changed files with 15789 additions and 0 deletions
18
src/utils/mdoc/schema/callout.mdoc.ts
Normal file
18
src/utils/mdoc/schema/callout.mdoc.ts
Normal file
|
@ -0,0 +1,18 @@
|
|||
import { component } from "@astrojs/markdoc/config";
|
||||
|
||||
/** @type {import('@markdoc/markdoc').Schema} */
|
||||
export const callout = {
|
||||
render: component("./src/components/mdoc/Callout.astro"),
|
||||
children: ["paragraph", "tag", "list"],
|
||||
attributes: {
|
||||
type: {
|
||||
type: String,
|
||||
default: "note goes here...",
|
||||
matches: ["error", "check", "note", "warning"],
|
||||
errorLevel: "critical",
|
||||
},
|
||||
title: {
|
||||
type: String,
|
||||
},
|
||||
},
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue