Skip to content

Releases: shuding/nextra

nextra-theme-docs@2.0.0-beta.7

21 Jul 23:17
c3df5ba
Compare
Choose a tag to compare
Pre-release
nextra-theme-docs@2.0.0-beta.7

nextra-theme-blog@2.0.0-beta.8

21 Jul 23:22
5c9f941
Compare
Choose a tag to compare
Pre-release

Patch Changes

nextra-theme-blog@2.0.0-beta.7

21 Jul 23:17
c3df5ba
Compare
Choose a tag to compare
Pre-release

Patch Changes

  • 8f55c80: fix(nextra-theme-blog): unneeded spread for <a/>

v2.0.0-beta.5

03 Dec 19:05
9d2764f
Compare
Choose a tag to compare
v2.0.0-beta.5 Pre-release
Pre-release

What's Changed

Full Changelog: v2.0.0-beta.4...v2.0.0-beta.5

v2.0.0-beta.4

30 Nov 12:40
00b985f
Compare
Choose a tag to compare
v2.0.0-beta.4 Pre-release
Pre-release

What's Changed

  • Fix filter of undefined caused by MDX tree being empty by @shuding in #269

Full Changelog: v2.0.0-beta.3...v2.0.0-beta.4

v2.0.0-beta.3

29 Nov 19:18
376eaf8
Compare
Choose a tag to compare
v2.0.0-beta.3 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v2.0.0-beta.2...v2.0.0-beta.3

Nextra 2.0.0 (beta.2)

29 Nov 14:19
b8283b7
Compare
Choose a tag to compare
Nextra 2.0.0 (beta.2) Pre-release
Pre-release

Since 2.0.0, version numbers of the Nextra core and official themes (blog, docs) will be matched precisely. This release includes:

  • nextra@2.0.0-beta.2
  • nextra-theme-blog@2.0.0-beta.2
  • nextra-theme-docs@2.0.0-beta.2

You can upgrade with yarn add nextra@beta or npm install nextra@beta.

Breaking Changes

MDX v2

Nextra 2 will use MDX 2, please check the corresponding migrating guide and blog post if you are interested.

Next.js 12

Since MDX v2 is ESM-only, Nextra 2 requires at least Next.js 12 for its native ESM support.

Highlighting Lines

Before v2, you can use the highlight=1,3-5 syntax to highlight specific lines in a pre code block:

```js highlight=1,3-5
import useSWR from 'swr'

export default function Page() {
  // ...
}
```

In v2, you need to wrap it with "" to make it a valid JSX prop:

```js highlight="1,3-5"
import useSWR from 'swr'

export default function Page() {
  // ...
}
```

(The following is generated automatically and includes all PRs since this is the first release created on GitHub)

What's Changed

New Contributors

Full Changelog: https://github.com/shuding/nextra/commits/v2.0.0-beta.2