Skip to content

Commit adc64ec

Browse files
authored
Update things for v2 (#1926)
1 parent a5daaad commit adc64ec

35 files changed

+156
-279
lines changed

docs/blog/v2.server.mdx

Lines changed: 60 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,10 @@ export const info = {
33
author: [
44
{name: 'Titus Wormer', github: 'wooorm', twitter: 'wooorm'}
55
],
6-
published: new Date('2021-11-01'),
7-
modified: new Date('2021-11-01')
6+
published: new Date('2022-02-01'),
7+
modified: new Date('2022-02-01')
88
}
99

10-
<Note type="important">
11-
**Note**: V2 is around the corner.
12-
This website is for that.
13-
It hasn’t been released yet.
14-
But you can try out the RC.
15-
You can be of great help by reading through these docs and letting us know
16-
what’s confusing or wrong or other suggestions you have.
17-
See [§ Support][support] for where to ask questions and
18-
[§ Contribute][contribute] for how to help.
19-
</Note>
20-
2110
<Note type="info">
2211
**Note**: Info on how to migrate is available in our
2312
[Version 2 migration guide][migrating].
@@ -139,7 +128,7 @@ We also added support for JavaScript expressions, take for example:
139128
{name: 'Jane', email: '[email protected]'},
140129
{name: 'John', twitter: '@john2002'}
141130
]
142-
export const published = new Date('2021-11-01')
131+
export const published = new Date('2022-02-01')
143132

144133
Written by: {new Intl.ListFormat('en').format(authors.map(d => d.name))}.
145134

@@ -151,7 +140,7 @@ We also added support for JavaScript expressions, take for example:
151140
```jsx path="equivalent.jsx" copy=no
152141
<>
153142
<p>Written by: Jane and John.</p>
154-
<p>Published on: November 1, 2021.</p>
143+
<p>Published on: February 1, 2022.</p>
155144
</>
156145
```
157146
</div>
@@ -267,15 +256,64 @@ When you’re ready to migrate, please see the
267256
268257
## Thanks
269258
270-
<Note type="important">
271-
**Important**: To do!
272-
We’ll do this when v2 actually hits.
273-
So there’s still time to get your name here 😉
274-
</Note>
275-
276259
We’d like to say thanks to all our contributors and our happy users.
277260
Special thanks to
278-
...
261+
Thanks to John Otander ([**@johno**](https://github.com/johno)),
262+
Christian Murphy ([**@ChristianMurphy**](https://github.com/ChristianMurphy)),
263+
JounQin ([**@JounQin**](https://github.com/JounQin)),
264+
Jack Bates ([**@jablko**](https://github.com/jablko)),
265+
Sam Chen ([**@chenxsan**](https://github.com/chenxsan)),
266+
Sam Robbins ([**@samrobbins85**](https://github.com/samrobbins85)),
267+
Remco Haszing ([**@remcohaszing**](https://github.com/remcohaszing)),
268+
LB ([**@laurieontech**](https://github.com/laurieontech)),
269+
Gabriel Kirkley ([**@gdgkirkley**](https://github.com/gdgkirkley)>),
270+
Hung-I Wang ([**@Gowee**](https://github.com/Gowee)),
271+
Ilham Wahabi ([**@iwgx**](https://github.com/iwgx)),
272+
Kaito Sugimoto ([**@HelloRusk**](https://github.com/HelloRusk)),
273+
Karl Horky ([**@karlhorky**](https://github.com/karlhorky)),
274+
Katie Hughes ([**@glitteringkatie**](https://github.com/glitteringkatie)),
275+
Lachlan Campbell ([**@lachlanjc**](https://github.com/lachlanjc)),
276+
Marcy Sutton ([**@marcysutton**](https://github.com/marcysutton)),
277+
Marius Gundersen ([**@mariusGundersen**](https://github.com/mariusGundersen)),
278+
Marius-Remus Mate,
279+
Mark Skelton ([**@mskelton**](https://github.com/mskelton)),
280+
Martin V ([**@ndresx**](https://github.com/ndresx)),
281+
Matija Marohnić ([**@silvenon**](https://github.com/silvenon)),
282+
Michael Oliver ([**@michaeloliverx**](https://github.com/michaeloliverx)),
283+
Michaël De Boey ([**@MichaelDeBoey**](https://github.com/MichaelDeBoey)),
284+
Muescha ([**@muescha**](https://github.com/muescha)),
285+
Norviah ([**@Norviah**](https://github.com/Norviah)),
286+
Paul Scanlon ([**@PaulieScanlon**](https://github.com/PaulieScanlon)),
287+
Peter Mouland ([**@peter-mouland**](https://github.com/peter-mouland)),
288+
Prince Wilson ([**@maxcell**](https://github.com/maxcell)),
289+
Rafael Almeida ([**@rafaelalmeidatk**](https://github.com/rafaelalmeidatk)),
290+
Rodrez ([**@rodrez**](https://github.com/rodrez)),
291+
Rongjian Zhang ([**@pd4d10**](https://github.com/pd4d10)),
292+
Taeheon Kim ([**@lonyele**](https://github.com/lonyele)),
293+
Tom Parker-Shemilt ([**@palfrey**](https://github.com/palfrey)),
294+
Try Ajitiono ([**@imballinst**](https://github.com/imballinst)),
295+
Yamagishi Kazutoshi ([**@ykzts**](https://github.com/ykzts)),
296+
Yoav Kadosh ([**@ykadosh**](https://github.com/ykadosh)),
297+
Yordis Prieto ([**@Yordis**](https://github.com/Yordis)),
298+
Adrian Foong ([**@adrfoong**](https://github.com/adrfoong)),
299+
Dan Abramov ([**@gaearon**](https://github.com/gaearon)),
300+
[**@ihupoo**](https://github.com/ihupoo),
301+
[**@nikhog**](https://github.com/nikhog),
302+
[**@redallen**](https://github.com/redallen),
303+
Akshay Kadam ([**@deadcoder0904**](https://github.com/deadcoder0904)),
304+
я котик пур-пур ([**@mvasilkov**](https://github.com/mvasilkov)),
305+
Anders D. Johnson ([**@AndersDJohnson**](https://github.com/AndersDJohnson)),
306+
Andrew Aylett ([**@andrewaylett**](https://github.com/andrewaylett)),
307+
Ankeet Maini ([**@ankeetmaini**](https://github.com/ankeetmaini)),
308+
Biswas Nandamuri ([**@Biswas-N**](https://github.com/Biswas-N)),
309+
Bret ([**@bcomnes**](https://github.com/bcomnes)),
310+
Chris Chinchilla ([**@ChrisChinchilla**](https://github.com/ChrisChinchilla)),
311+
Christopher Biscardi ([**@ChristopherBiscardi**](https://github.com/ChristopherBiscardi)),
312+
Dan Overton ([**@dan-overton**](https://github.com/dan-overton)),
313+
Domitrius ([**@domitriusclark**](https://github.com/domitriusclark)),
314+
Dovi Winberger ([**@dowi**](https://github.com/dowi)),
315+
Emmie Päivärinta ([**@emmiep**](https://github.com/emmiep)),
316+
Eugene Ghanizadeh ([**@loreanvictor**](https://github.com/loreanvictor)),
279317
and anyone we may have forgotten.
280318
281319
[what]: /docs/what-is-mdx/
@@ -304,6 +342,4 @@ and anyone we may have forgotten.
304342
305343
[types-mdx]: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mdx
306344
307-
[support]: /community/support/
308-
309345
[contribute]: /community/contribute/

docs/community/contribute.server.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export const info = {
55
{name: 'Titus Wormer', github: 'wooorm', twitter: 'wooorm'}
66
],
77
published: new Date('2018-11-04'),
8-
modified: new Date('2021-11-01')
8+
modified: new Date('2022-01-25')
99
}
1010

1111
# Contribute

docs/community/sponsor.server.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export const info = {
44
{name: 'Titus Wormer', github: 'wooorm', twitter: 'wooorm'}
55
],
66
published: new Date('2021-10-06'),
7-
modified: new Date('2021-11-01')
7+
modified: new Date('2022-01-25')
88
}
99

1010
# Sponsor

docs/community/support.server.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export const info = {
55
{name: 'Titus Wormer', github: 'wooorm', twitter: 'wooorm'}
66
],
77
published: new Date('2019-07-03'),
8-
modified: new Date('2021-11-01')
8+
modified: new Date('2022-01-25')
99
}
1010

1111
# Support

docs/docs/extending-mdx.server.mdx

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,6 @@ export const info = {
88
modified: new Date('2021-11-01')
99
}
1010

11-
<Note type="important">
12-
**Note**: V2 is around the corner.
13-
This website is for that.
14-
It hasn’t been released yet.
15-
But you can try out the RC.
16-
You can be of great help by reading through these docs and letting us know
17-
what’s confusing or wrong or other suggestions you have.
18-
See [§ Support][support] for where to ask questions and
19-
[§ Contribute][contribute] for how to help.
20-
</Note>
21-
2211
# Extending MDX
2312

2413
This article explains how to extend MDX content—specifically, how to *transform*
@@ -178,7 +167,3 @@ For info on the node types that represent MDX specific features, see
178167
[syntax-tree]: /packages/remark-mdx/#syntax-tree
179168

180169
[playground]: /playground/
181-
182-
[support]: /community/support/
183-
184-
[contribute]: /community/contribute/

docs/docs/getting-started.server.mdx

Lines changed: 5 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,9 @@ export const info = {
55
{name: 'Titus Wormer', github: 'wooorm', twitter: 'wooorm'}
66
],
77
published: new Date('2021-10-05'),
8-
modified: new Date('2021-11-01')
8+
modified: new Date('2022-02-01')
99
}
1010

11-
<Note type="important">
12-
**Note**: V2 is around the corner.
13-
This website is for that.
14-
It hasn’t been released yet.
15-
But you can try out the RC.
16-
You can be of great help by reading through these docs and letting us know
17-
what’s confusing or wrong or other suggestions you have.
18-
See [§ Support][support] for where to ask questions and
19-
[§ Contribute][contribute] for how to help.
20-
</Note>
21-
2211
# Getting started
2312

2413
This article explains how to integrate MDX into your project.
@@ -318,11 +307,6 @@ If you use more modern JavaScript features than what your users support,
318307
See also [¶ Create React App (CRA)][cra], [¶ Next.js][next], and
319308
[¶ Vue CLI][vue-cli], if you’re using webpack through them, for more info.
320309

321-
<Note type="info">
322-
**Note**: getting an error `ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING`?
323-
See [this note on `webpack-cli`](/packages/loader/#note-webpack-cli).
324-
</Note>
325-
326310
### Build systems
327311

328312
#### Snowpack
@@ -395,10 +379,10 @@ which you’re likely using, for more info.
395379

396380
<Note type="info">
397381
**Note**: to support ESM in `vue.config.js` or `vue.config.mjs`, you currently
398-
have to use their v5.0.0-beta.
382+
have to use their v5.0.0-rc.
399383
See [`v5.0.0-beta.0`](https://github.com/vuejs/vue-cli/releases/tag/v5.0.0-beta.0)
400384
in their changelog for more info.
401-
Their latest beta release is currently `v5.0.0-beta.6`.
385+
Their latest beta release is currently `v5.0.0-rc.2`.
402386
</Note>
403387

404388
#### WMR
@@ -580,13 +564,6 @@ There is no need to configure your JSX runtime as React is already set up.
580564
See also [¶ Webpack][webpack] and [¶ React][react], which you’re using, for
581565
more on those tools.
582566

583-
<Note type="info">
584-
**Note**: to support ESM in Next.js, you currently have to set a flag:
585-
`experimental: {esmExternals: true}` in `next.config.js`.
586-
See [ES Modules Support](https://nextjs.org/blog/next-11-1#es-modules-support)
587-
in their Next.js 11.1 blog post for more info.
588-
</Note>
589-
590567
#### Parcel
591568

592569
[Parcel 2](https://v2.parceljs.org) has their own plugin to support MDX.
@@ -825,6 +802,8 @@ See their readmes on how to configure them.
825802

826803
[jsx]: #jsx
827804

805+
[support]: /community/support/
806+
828807
[what]: /docs/what-is-mdx/
829808

830809
[use]: /docs/using-mdx/
@@ -898,7 +877,3 @@ See their readmes on how to configure them.
898877
[gatsby]: #gatsby
899878

900879
[docusaurus]: #docusaurus
901-
902-
[support]: /community/support/
903-
904-
[contribute]: /community/contribute/

docs/docs/troubleshooting-mdx.server.mdx

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,6 @@ export const info = {
1010

1111
{/* lint disable maximum-heading-length */}
1212

13-
<Note type="important">
14-
**Note**: V2 is around the corner.
15-
This website is for that.
16-
It hasn’t been released yet.
17-
But you can try out the RC.
18-
You can be of great help by reading through these docs and letting us know
19-
what’s confusing or wrong or other suggestions you have.
20-
See [§ Support][support] for where to ask questions and
21-
[§ Contribute][contribute] for how to help.
22-
</Note>
23-
2413
<Note type="info">
2514
**Note**: Had trouble with something that wasn’t explained here but should be?
2615
Please let us know.
@@ -451,8 +440,6 @@ still tags open.
451440
See the rules on
452441
Interleaving in § What is MDX?](/docs/what-is-mdx/#interleaving)
453442

454-
[support]: /community/support/
455-
456443
[contribute]: /community/contribute/
457444

458445
[what]: /docs/what-is-mdx/

docs/docs/using-mdx.server.mdx

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,9 @@ export const info = {
55
{name: 'Titus Wormer', github: 'wooorm', twitter: 'wooorm'}
66
],
77
published: new Date('2021-09-30'),
8-
modified: new Date('2021-11-01')
8+
modified: new Date('2021-11-14')
99
}
1010

11-
<Note type="important">
12-
**Note**: V2 is around the corner.
13-
This website is for that.
14-
It hasn’t been released yet.
15-
But you can try out the RC.
16-
You can be of great help by reading through these docs and letting us know
17-
what’s confusing or wrong or other suggestions you have.
18-
See [§ Support][support] for where to ask questions and
19-
[§ Contribute][contribute] for how to help.
20-
</Note>
21-
2211
# Using MDX
2312

2413
This article explains how to use MDX files in your project.
@@ -456,7 +445,3 @@ No component is used for `h1`.
456445
[vue]: /docs/getting-started/#vue
457446

458447
[toc]: /table-of-components/
459-
460-
[support]: /community/support/
461-
462-
[contribute]: /community/contribute/

docs/docs/what-is-mdx.server.mdx

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,6 @@ export const info = {
99
modified: new Date('2021-11-01')
1010
}
1111

12-
<Note type="important">
13-
**Note**: V2 is around the corner.
14-
This website is for that.
15-
It hasn’t been released yet.
16-
But you can try out the RC.
17-
You can be of great help by reading through these docs and letting us know
18-
what’s confusing or wrong or other suggestions you have.
19-
See [§ Support][support] for where to ask questions and
20-
[§ Contribute][contribute] for how to help.
21-
</Note>
22-
2312
# What is MDX?
2413

2514
This article explains what the MDX format is.
@@ -368,7 +357,3 @@ the heading.
368357
[using-plugins]: /docs/extending-mdx/#using-plugins
369358
370359
[iife]: https://developer.mozilla.org/en-US/docs/Glossary/IIFE
371-
372-
[support]: /community/support/
373-
374-
[contribute]: /community/contribute/

docs/guides/math.server.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export const info = {
55
{name: 'Titus Wormer', github: 'wooorm', twitter: 'wooorm'}
66
],
77
published: new Date('2021-10-06'),
8-
modified: new Date('2021-11-01')
8+
modified: new Date('2022-02-01')
99
}
1010

1111
# Math
@@ -75,7 +75,7 @@ async function main() {
7575
At the time of writing, the last version is:
7676

7777
```html
78-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.13.13/dist/katex.min.css" integrity="sha384-RZU/ijkSsFbcmivfdRBQDtwuwVqK7GMOw6IMvKyeWL2K5UAlyp6WonmB8m7Jd0Hn" crossorigin="anonymous">
78+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.15.2/dist/katex.min.css" integrity="sha384-RZU/ijkSsFbcmivfdRBQDtwuwVqK7GMOw6IMvKyeWL2K5UAlyp6WonmB8m7Jd0Hn" crossorigin="anonymous">
7979
```
8080
</Note>
8181

0 commit comments

Comments
 (0)