chore: update to latest astro ink version
This commit is contained in:
12
src/utils/mdoc/schema/tweet-embed.mdoc.ts
Normal file
12
src/utils/mdoc/schema/tweet-embed.mdoc.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { component } from "@astrojs/markdoc/config";
|
||||
|
||||
/** @type {import('@markdoc/markdoc').Schema} */
|
||||
export const tweetEmbed = {
|
||||
render: component("./src/components/mdoc/TweetEmbed.astro"),
|
||||
attributes: {
|
||||
url: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user