Replies: 4 comments 2 replies
-
Does this work with Next.js 12? I am currently trying to set it up and I can't get it to work because of some ES6 stuff. |
Beta Was this translation helpful? Give feedback.
2 replies
-
The code highlighting not working for me. Any solution? |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can do something like this
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Is there an official migration guide? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since 2.0.0, version numbers of the Nextra core and official themes (blog, docs) will be aligned. This release includes:
[email protected]
[email protected]
[email protected]
You can upgrade with
yarn add nextra@beta
ornpm install nextra@beta
.Breaking Changes
MDX v2
Nextra 2.0.0 will use MDX 2.0.0, please check the corresponding migrating guide and blog post if you are interested.
Highlighting Lines
Before v2, you can use the
highlight=1,3-5
syntax to highlight specific lines in apre
code block:In v2, you need to wrap it with
""
to make it a valid JSX prop:(The following is generated automatically and includes all PRs since this is the first release created on GitHub)
What's Changed
test.en.mdx
file typo errors, add search result list circular key handle support by @AmagiDDmxh in Fixtest.en.mdx
file typo errors, add search result list circular key handle support #146unstable_
by @shuding in Prefix stork options withunstable_
#186unstable_faviconGlyph
option to the docs theme by @shuding in Addunstable_faviconGlyph
option to the docs theme #187rel="noreferrer"
to all links withtarget="_blank"
by @maltejur in Addrel="noreferrer"
to all links withtarget="_blank"
#232trailingSlash: true
by @maltejur in Fix sidebar fortrailingSlash: true
#236New Contributors
test.en.mdx
file typo errors, add search result list circular key handle support #146Full Changelog: https://github.com/shuding/nextra/commits/v2.0.0-beta.2
This discussion was created from the release Nextra 2.0.0 (beta.2).
Beta Was this translation helpful? Give feedback.
All reactions