Version Packages (#597)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2021-07-01 15:06:18 -05:00 committed by GitHub
parent 4b89f4ed08
commit 816797e350
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 69 additions and 51 deletions

View file

@ -1,25 +0,0 @@
---
'astro': minor
'@astrojs/markdown-support': minor
---
Add support for [`remark`](https://github.com/remarkjs/remark#readme) and [`rehype`](https://github.com/rehypejs/rehype#readme) plugins for both `.md` pages and `.astro` pages using the [`<Markdown>`](/docs/guides/markdown-content.md) component.
For example, the `astro.config.mjs` could be updated to include the following. [Read the Markdown documentation](/docs/guides/markdown-content.md) for more information.
> **Note** Enabling custom `remarkPlugins` or `rehypePlugins` removes Astro's built-in support for [GitHub-flavored Markdown](https://github.github.com/gfm/) support, [Footnotes](https://github.com/remarkjs/remark-footnotes) syntax, [Smartypants](https://github.com/silvenon/remark-smartypants). You must explicitly add these plugins to your `astro.config.mjs` file, if desired.
```js
export default {
markdownOptions: {
remarkPlugins: [
'remark-slug',
['remark-autolink-headings', { behavior: 'prepend'}],
],
rehypePlugins: [
'rehype-slug',
['rehype-autolink-headings', { behavior: 'prepend'}],
]
},
}
```

View file

@ -1,5 +0,0 @@
---
'@astrojs/markdown-support': patch
---
Expose `html` to `Astro.fetchContent` (#571)

View file

@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.15.5"
"astro": "^0.16.0"
},
"snowpack": {
"workspaceRoot": "../.."

View file

@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.15.5"
"astro": "^0.16.0"
},
"snowpack": {
"workspaceRoot": "../.."

View file

@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.15.5"
"astro": "^0.16.0"
},
"snowpack": {
"workspaceRoot": "../.."

View file

@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.15.5"
"astro": "^0.16.0"
},
"snowpack": {
"workspaceRoot": "../.."

View file

@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.15.5"
"astro": "^0.16.0"
},
"snowpack": {
"workspaceRoot": "../.."

View file

@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.15.5"
"astro": "^0.16.0"
},
"snowpack": {
"workspaceRoot": "../.."

View file

@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.15.5"
"astro": "^0.16.0"
},
"snowpack": {
"workspaceRoot": "../.."

View file

@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.15.5"
"astro": "^0.16.0"
},
"snowpack": {
"workspaceRoot": "../.."

View file

@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.15.5"
"astro": "^0.16.0"
},
"snowpack": {
"workspaceRoot": "../.."

View file

@ -11,7 +11,7 @@
"lint": "prettier --check \"src/**/*.js\""
},
"dependencies": {
"astro": "^0.15.5",
"astro": "^0.16.0",
"date-fns": "^2.19.0",
"deepmerge": "^4.2.2",
"docsearch.js": "^2.6.3",
@ -25,7 +25,7 @@
"@11ty/eleventy-plugin-syntaxhighlight": "^3.0.4",
"@contentful/rich-text-html-renderer": "^14.1.2",
"@contentful/rich-text-types": "^14.1.2",
"astro": "^0.15.5",
"astro": "^0.16.0",
"eleventy-plugin-nesting-toc": "^1.2.0",
"luxon": "^1.25.0",
"markdown-it": "^12.0.2",

View file

@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.15.5"
"astro": "^0.16.0"
},
"snowpack": {
"workspaceRoot": "../.."

View file

@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.15.0",
"astro": "^0.16.0",
"rehype-add-classes": "^1.0.0",
"rehype-toc": "^3.0.2",
"remark-autolink-headings": "^6.0.1",

View file

@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.15.5"
"astro": "^0.16.0"
},
"snowpack": {
"workspaceRoot": "../.."

View file

@ -7,7 +7,7 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.15.5"
"astro": "^0.16.0"
},
"dependencies": {
"nanostores": "^0.3.3"

View file

@ -8,7 +8,7 @@
},
"devDependencies": {
"tailwindcss": "^2.1.2",
"astro": "^0.15.5"
"astro": "^0.16.0"
},
"snowpack": {
"workspaceRoot": "../.."

View file

@ -1,5 +1,30 @@
# astro
## 0.16.0
### Minor Changes
- d396943: Add support for [`remark`](https://github.com/remarkjs/remark#readme) and [`rehype`](https://github.com/rehypejs/rehype#readme) plugins for both `.md` pages and `.astro` pages using the [`<Markdown>`](/docs/guides/markdown-content.md) component.
For example, the `astro.config.mjs` could be updated to include the following. [Read the Markdown documentation](/docs/guides/markdown-content.md) for more information.
> **Note** Enabling custom `remarkPlugins` or `rehypePlugins` removes Astro's built-in support for [GitHub-flavored Markdown](https://github.github.com/gfm/) support, [Footnotes](https://github.com/remarkjs/remark-footnotes) syntax, [Smartypants](https://github.com/silvenon/remark-smartypants). You must explicitly add these plugins to your `astro.config.mjs` file, if desired.
```js
export default {
markdownOptions: {
remarkPlugins: ['remark-slug', ['remark-autolink-headings', { behavior: 'prepend' }]],
rehypePlugins: ['rehype-slug', ['rehype-autolink-headings', { behavior: 'prepend' }]],
},
};
```
### Patch Changes
- Updated dependencies [d396943]
- Updated dependencies [f83407e]
- @astrojs/markdown-support@0.2.0
## 0.15.5
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "astro",
"version": "0.15.5",
"version": "0.16.0",
"author": "Skypack",
"license": "MIT",
"type": "module",
@ -41,7 +41,7 @@
"test": "uvu test -i fixtures -i benchmark -i test-utils.js"
},
"dependencies": {
"@astrojs/markdown-support": "0.1.2",
"@astrojs/markdown-support": "0.2.0",
"@astrojs/parser": "0.15.4",
"@astrojs/prism": "0.2.2",
"@astrojs/renderer-preact": "0.1.3",

View file

@ -1,5 +1,28 @@
# @astrojs/markdown-support
## 0.2.0
### Minor Changes
- d396943: Add support for [`remark`](https://github.com/remarkjs/remark#readme) and [`rehype`](https://github.com/rehypejs/rehype#readme) plugins for both `.md` pages and `.astro` pages using the [`<Markdown>`](/docs/guides/markdown-content.md) component.
For example, the `astro.config.mjs` could be updated to include the following. [Read the Markdown documentation](/docs/guides/markdown-content.md) for more information.
> **Note** Enabling custom `remarkPlugins` or `rehypePlugins` removes Astro's built-in support for [GitHub-flavored Markdown](https://github.github.com/gfm/) support, [Footnotes](https://github.com/remarkjs/remark-footnotes) syntax, [Smartypants](https://github.com/silvenon/remark-smartypants). You must explicitly add these plugins to your `astro.config.mjs` file, if desired.
```js
export default {
markdownOptions: {
remarkPlugins: ['remark-slug', ['remark-autolink-headings', { behavior: 'prepend' }]],
rehypePlugins: ['rehype-slug', ['rehype-autolink-headings', { behavior: 'prepend' }]],
},
};
```
### Patch Changes
- f83407e: Expose `html` to `Astro.fetchContent` (#571)
## 0.1.2
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@astrojs/markdown-support",
"version": "0.1.2",
"version": "0.2.0",
"main": "./dist/index.js",
"type": "module",
"repository": {

View file

@ -28,7 +28,7 @@
"vscode-languageserver-textdocument": "^1.0.1"
},
"devDependencies": {
"astro": "^0.15.1",
"astro": "^0.16.0",
"astro-scripts": "0.0.1"
}
}

View file

@ -7,6 +7,6 @@
"build": "astro build"
},
"devDependencies": {
"astro": "^0.15.5"
"astro": "^0.16.0"
}
}