mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
[ci] release (#10670)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
8f636693d5
commit
0899d342cd
5 changed files with 23 additions and 22 deletions
|
@ -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)
|
||||
```
|
|
@ -11,7 +11,7 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/markdoc": "^0.9.4",
|
||||
"@astrojs/markdoc": "^0.9.5",
|
||||
"astro": "^4.5.15"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue