Fix formatting issues caused by release (#2261)

* Run formatting on the release notes

* Update version in test due to releases GH
This commit is contained in:
Matthew Phillips 2021-12-23 12:41:55 -05:00 committed by GitHub
parent b8e3efa7bb
commit f14c1fb4e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 13 deletions

View file

@ -1029,10 +1029,10 @@ For convenience, you may now also move your `astro.config.js` file to a top-leve
```js ```js
export default { export default {
markdownOptions: { markdownOptions: {
remarkPlugins: ['remark-slug', ['remark-autolink-headings', { behavior: 'prepend' }]], remarkPlugins: ['remark-slug', ['remark-autolink-headings', { behavior: 'prepend' }]],
rehypePlugins: ['rehype-slug', ['rehype-autolink-headings', { behavior: 'prepend' }]], rehypePlugins: ['rehype-slug', ['rehype-autolink-headings', { behavior: 'prepend' }]],
}, },
}; };
``` ```
@ -1052,10 +1052,10 @@ For convenience, you may now also move your `astro.config.js` file to a top-leve
```js ```js
export default { export default {
name: '@matthewp/my-renderer', name: '@matthewp/my-renderer',
server: './server.js', server: './server.js',
client: './client.js', client: './client.js',
hydrationPolyfills: ['./my-polyfill.js'], hydrationPolyfills: ['./my-polyfill.js'],
}; };
``` ```

View file

@ -15,7 +15,7 @@ describe('Node builtins', () => {
const $ = cheerio.load(html); const $ = cheerio.load(html);
expect($('#version').text()).to.equal('1.2.0'); expect($('#version').text()).to.equal('1.2.0');
expect($('#dep-version').text()).to.equal('0.0.1'); expect($('#dep-version').text()).to.equal('0.1.0');
}); });
it('Can also be used with the non-prefixed version', async () => { it('Can also be used with the non-prefixed version', async () => {

View file

@ -105,10 +105,10 @@
```js ```js
export default { export default {
markdownOptions: { markdownOptions: {
remarkPlugins: ['remark-slug', ['remark-autolink-headings', { behavior: 'prepend' }]], remarkPlugins: ['remark-slug', ['remark-autolink-headings', { behavior: 'prepend' }]],
rehypePlugins: ['rehype-slug', ['rehype-autolink-headings', { behavior: 'prepend' }]], rehypePlugins: ['rehype-slug', ['rehype-autolink-headings', { behavior: 'prepend' }]],
}, },
}; };
``` ```