nextra

Simple, powerful and flexible site generation framework with everything you love from Next.js.

MIT License

Downloads
660.7K
Stars
10.6K
Committers
154

Bot releases are hidden (Show)

nextra - 2.0.0-beta.6

Published by shuding about 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/shuding/nextra/compare/v2.0.0-beta.5...2.0.0-beta.6

nextra - v2.0.0-beta.5

Published by shuding almost 3 years ago

What's Changed

Full Changelog: https://github.com/shuding/nextra/compare/v2.0.0-beta.4...v2.0.0-beta.5

nextra - v2.0.0-beta.4

Published by shuding almost 3 years ago

What's Changed

Full Changelog: https://github.com/shuding/nextra/compare/v2.0.0-beta.3...v2.0.0-beta.4

nextra - v2.0.0-beta.3

Published by shuding almost 3 years ago

What's Changed

New Contributors

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

nextra - Nextra 2.0.0 (beta.2)

Published by shuding almost 3 years ago

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

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

Package Rankings
Top 0.8% on Npmjs.org
Top 3.74% on Proxy.golang.org
Related Projects