Skip to content

Commit

Permalink
Add changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Apr 1, 2024
1 parent b9bd381 commit 58449b0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/khaki-otters-return.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@astrojs/markdown-remark": major
---

Removes deprecated APIs, including `remarkShiki`, `remarkPrism`, `replaceCssVariables`, and several unused types`
4 changes: 4 additions & 0 deletions packages/markdown/remark/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ import type { VFile } from 'vfile';

export type { Node } from 'unist';

export type MarkdownAstroData = {
frontmatter: Record<string, any>;
};

export type RemarkPlugin<PluginParameters extends any[] = any[]> = unified.Plugin<
PluginParameters,
mdast.Root
Expand Down

0 comments on commit 58449b0

Please sign in to comment.