summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Houston (Bot) <108291165+astrobot-houston@users.noreply.github.com> 2024-04-03 13:52:33 -0700
committerGravatar GitHub <noreply@github.com> 2024-04-03 16:52:33 -0400
commit0899d342cd0361de7ab3d566c8b8a0beaabf5ffa (patch)
tree623f6f9c18f83539700c824dfffcd68ca65a4464
parent8f636693d54700926bc97b3288e041fe511d014d (diff)
downloadastro-@astrojs/markdoc@0.9.5.tar.gz
astro-@astrojs/markdoc@0.9.5.tar.zst
astro-@astrojs/markdoc@0.9.5.zip
[ci] release (#10670)@astrojs/markdoc@0.9.5
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Diffstat (limited to '')
-rw-r--r--.changeset/moody-spies-learn.md19
-rw-r--r--examples/with-markdoc/package.json2
-rw-r--r--packages/integrations/markdoc/CHANGELOG.md20
-rw-r--r--packages/integrations/markdoc/package.json2
-rw-r--r--pnpm-lock.yaml2
5 files changed, 23 insertions, 22 deletions
diff --git a/.changeset/moody-spies-learn.md b/.changeset/moody-spies-learn.md
deleted file mode 100644
index dbd0be539..000000000
--- 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
-<!--src/content/blog/post.mdoc-->
-
-{% partial file="my-partials/_diagram.mdoc" /%}
-
-<!--src/content/blog/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 ff5fe8bca..1fc5381a8 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 a139c78d3..53b68a9eb 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
+ <!--src/content/blog/post.mdoc-->
+
+ {% partial file="my-partials/_diagram.mdoc" /%}
+
+ <!--src/content/blog/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 ba6c7b360..d67001e75 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 212870d05..99bfc70f5 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