diff --git a/.changeset/khaki-otters-return.md b/.changeset/khaki-otters-return.md new file mode 100644 index 000000000000..279160b289e1 --- /dev/null +++ b/.changeset/khaki-otters-return.md @@ -0,0 +1,5 @@ +--- +"@astrojs/markdown-remark": major +--- + +Removes deprecated APIs, including `remarkShiki`, `remarkPrism`, `replaceCssVariables`, and several unused types` diff --git a/packages/markdown/remark/src/types.ts b/packages/markdown/remark/src/types.ts index b6a32b211bf2..5861f9e6f9c6 100644 --- a/packages/markdown/remark/src/types.ts +++ b/packages/markdown/remark/src/types.ts @@ -13,6 +13,10 @@ import type { VFile } from 'vfile'; export type { Node } from 'unist'; +export type MarkdownAstroData = { + frontmatter: Record; +}; + export type RemarkPlugin = unified.Plugin< PluginParameters, mdast.Root