From 0899d342cd0361de7ab3d566c8b8a0beaabf5ffa Mon Sep 17 00:00:00 2001 From: "Houston (Bot)" <108291165+astrobot-houston@users.noreply.github.com> Date: Wed, 3 Apr 2024 13:52:33 -0700 Subject: [PATCH] [ci] release (#10670) Co-authored-by: github-actions[bot] --- .changeset/moody-spies-learn.md | 19 ------------------- examples/with-markdoc/package.json | 2 +- packages/integrations/markdoc/CHANGELOG.md | 20 ++++++++++++++++++++ packages/integrations/markdoc/package.json | 2 +- pnpm-lock.yaml | 2 +- 5 files changed, 23 insertions(+), 22 deletions(-) delete mode 100644 .changeset/moody-spies-learn.md diff --git a/.changeset/moody-spies-learn.md b/.changeset/moody-spies-learn.md deleted file mode 100644 index dbd0be5395..0000000000 --- a/.changeset/moody-spies-learn.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -"@astrojs/markdoc": patch ---- - -Add automatic resolution for Markdoc partials. This allows you to render other Markdoc files inside of a given entry. Reference files using the `partial` tag with a `file` attribute for the relative file path: - -```md - - -{% partial file="my-partials/_diagram.mdoc" /%} - - - -## Diagram - -This partial will render inside of `post.mdoc.` - -![Diagram](./diagram.png) -``` diff --git a/examples/with-markdoc/package.json b/examples/with-markdoc/package.json index ff5fe8bcae..1fc5381a84 100644 --- a/examples/with-markdoc/package.json +++ b/examples/with-markdoc/package.json @@ -11,7 +11,7 @@ "astro": "astro" }, "dependencies": { - "@astrojs/markdoc": "^0.9.4", + "@astrojs/markdoc": "^0.9.5", "astro": "^4.5.15" } } diff --git a/packages/integrations/markdoc/CHANGELOG.md b/packages/integrations/markdoc/CHANGELOG.md index a139c78d3a..53b68a9eb0 100644 --- a/packages/integrations/markdoc/CHANGELOG.md +++ b/packages/integrations/markdoc/CHANGELOG.md @@ -1,5 +1,25 @@ # @astrojs/markdoc +## 0.9.5 + +### Patch Changes + +- [#10649](https://github.com/withastro/astro/pull/10649) [`90cfade88c2b9a34d8a5fe711ce329732d690409`](https://github.com/withastro/astro/commit/90cfade88c2b9a34d8a5fe711ce329732d690409) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Add automatic resolution for Markdoc partials. This allows you to render other Markdoc files inside of a given entry. Reference files using the `partial` tag with a `file` attribute for the relative file path: + + ```md + + + {% partial file="my-partials/_diagram.mdoc" /%} + + + + ## Diagram + + This partial will render inside of `post.mdoc.` + + ![Diagram](./diagram.png) + ``` + ## 0.9.4 ### Patch Changes diff --git a/packages/integrations/markdoc/package.json b/packages/integrations/markdoc/package.json index ba6c7b3604..d67001e75c 100644 --- a/packages/integrations/markdoc/package.json +++ b/packages/integrations/markdoc/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/markdoc", "description": "Add support for Markdoc in your Astro site", - "version": "0.9.4", + "version": "0.9.5", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 212870d054..99bfc70f50 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -396,7 +396,7 @@ importers: examples/with-markdoc: dependencies: '@astrojs/markdoc': - specifier: ^0.9.4 + specifier: ^0.9.5 version: link:../../packages/integrations/markdoc astro: specifier: ^4.5.15