summaryrefslogtreecommitdiff
path: root/packages/markdown/remark/src/internal.ts
diff options
context:
space:
mode:
authorGravatar Ben Holmes <hey@bholmes.dev> 2023-01-03 16:31:19 -0500
committerGravatar GitHub <noreply@github.com> 2023-01-03 16:31:19 -0500
commite2019be6ffa46fa33d92cfd346f9ecbe51bb7144 (patch)
tree413c13945ae992c26111e78314a567f5c0136c67 /packages/markdown/remark/src/internal.ts
parent16c7d0bfd49d2b9bfae45385f506bcd642f9444a (diff)
downloadastro-e2019be6ffa46fa33d92cfd346f9ecbe51bb7144.tar.gz
astro-e2019be6ffa46fa33d92cfd346f9ecbe51bb7144.tar.zst
astro-e2019be6ffa46fa33d92cfd346f9ecbe51bb7144.zip
Change frontmatter injection ordering (#5687)
* feat: make user frontmatter accessible in md * test: new frontmatter injection * refactor: move injection utils to remark pkg * fix: add dist/internal to remark exports * feat: update frontmater injection in mdx * tests: new mdx injection * chore: changeset * chore: simplify frontmatter destructuring * fix: remove old _internal references * refactor: injectedFrontmatter -> remarkPluginFrontmatter * docs: add content collections change * chore: changeset heading levels
Diffstat (limited to 'packages/markdown/remark/src/internal.ts')
-rw-r--r--packages/markdown/remark/src/internal.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/markdown/remark/src/internal.ts b/packages/markdown/remark/src/internal.ts
new file mode 100644
index 000000000..0ab7e34bb
--- /dev/null
+++ b/packages/markdown/remark/src/internal.ts
@@ -0,0 +1,5 @@
+export {
+ InvalidAstroDataError,
+ safelyGetAstroData,
+ toRemarkInitializeAstroData,
+} from './frontmatter-injection.js';