Simple, powerful and flexible site generation framework with everything you love from Next.js.
MIT License
Bot releases are visible (Hide)
Published by github-actions[bot] almost 2 years ago
99ec64e: fix indentation for copy code button
3a08fe2: Add Callout border in dark mode
328ad88: support basePath with locale switch
f488e2e: remove @react/skip-nev #1051
fix: staticImage should only set blur placeholder for jpeg,png,webp,avif
5c617d4: add aria-label
for dismiss button in banner
b43d775: fix Navbar />
elements key
prop
105588d: fix missing border in navbar
c1867fd: fix hydration for default gitTimestamp
component
Published by github-actions[bot] almost 2 years ago
99ec64e: fix indentation for copy code button
f488e2e: remove @react/skip-nev #1051
fix: staticImage should only set blur placeholder for jpeg,png,webp,avif
Published by github-actions[bot] almost 2 years ago
Published by github-actions[bot] almost 2 years ago
Published by github-actions[bot] almost 2 years ago
Published by github-actions[bot] almost 2 years ago
addPage
no longer need accept frontMatter
rehype-mdx-title
to determine page titleWarning: Prop
href did not match. Server: "#" Client: ...
index
next export
commandfindPagesDir
from next/dist/lib/find-pages-dir
SyntaxError: Unexpected token '}'
ReferenceError
when trying to access __nextra_pageOpts__
inside MDX filenextra
/nextra-theme-docs
/nextra-theme-blog
be compatible with next 13<InformationCircleIcon />
icon, improve <Callout />
default emojisnext/future/image
if next>=12.3.0frontMatter.title
if page is not specified in _meta.json
nx-
class prefixes in blog@types/github-slugger
instead of manually declaring typecompileMdx
, set jsx: false
and outputFormat: 'function-body'
by defaultHydration failed because the initial UI...
while modifying meta.json
on dev env and react 18NextraConfig.unstable_defaultShowCopyCode
option to show button by default, add copy
and copy=false
options for code-blocksexperimental.newNextLinkBehavior
- true
and false
overflow-x-scroll
for tablesnx-
prefixes to table/th/tr elementsplaceholder="blur"
on .svg
static imagesen-US
instead default
title
package in nextra to determine sidebar title based on pagenameeslint-plugin-tailwindcss
Toggle Word Wrap
button for code-blocks (only for mobile)meta.json
to _meta.json
Copy Code
button in code-blocks without languagemdxOptions.rehypePrettyCodeOptions
optioncontext.ts
, ssg.ts
and locales.ts
to esmnextraConfig.unstable_readingTime
option for blog themeUnhandled Runtime Error: No content found for <route>
"experimental.images.allowFutureImage": true
is set in next confignext/image
, since in next 12.3.2 next/future/image
was renamed to next/image
MARKDOWN_EXTENSION_REGEX.test(filename)
in loaderMetaJsonFile
, MdxFile
, Folder
types.md
/.mdx
as well<NextImage />
even when url not relative but that starts from /
(public directory)pages/api
folderPageOpts.meta
to PageOpts.frontMatter
defaultMeta
by frontMatter.date
, if missing by frontMatter.title
and after by capitalized page namewithLayout
logic directly in nextra loader_meta.json
module
to mod
to avoid confusing with global module
objectPublished by github-actions[bot] almost 2 years ago
<a/>
Warning: Prop
href did not match. Server: "#" Client: ...
nextra
/nextra-theme-docs
/nextra-theme-blog
be compatible with next 13showLineNumbers
prop in code-blocksnx-
class prefixes in blogpassHref
for NextLink
NextraConfig.unstable_defaultShowCopyCode
option to show button by default, add copy
and copy=false
options for code-blocksoverflow-x-scroll
for tablesnx-
prefixes to table/th/tr elementssort-date.ts
.traverse.ts
postcss-import
to import css variables stylesclassName
s, fix duplicate id issueeslint-plugin-tailwindcss
Toggle Word Wrap
button for code-blocks (only for mobile)Copy Code
button in code-blocks without languagelightningcss
instead cssnano
nextraConfig.unstable_readingTime
option for blog theme"experimental.images.allowFutureImage": true
is set in next configsvg
icons in /icons
folder, reusing same icons <MoonIcon />
/ <SunIcon />
in blog from docs.md
/.mdx
as well<NextImage />
even when url not relative but that starts from /
(public directory)useConfig
and useTheme
PageOpts.meta
to PageOpts.frontMatter
withLayout
logic directly in nextra loaderApplication error: a client-side exception has occurred
when invalid date was provided in frontmatter + TESTSPublished by github-actions[bot] almost 2 years ago
<div />
s in <Navbar />
navbar.extraContent
hamburger
/scrollbar
/typesetting-article
css filesdisplay: inline-block
Warning: Prop
href did not match. Server: "#" Client: ...
MDXProvider.components
index
next export
commandnextra
/nextra-theme-docs
/nextra-theme-blog
be compatible with next 13Tabs.items
as ReadonlyArray<ReactNode>
<InformationCircleIcon />
icon, improve <Callout />
default emojisDocsThemeConfig.nextThemes
instead of object
frontMatter.title
if page is not specified in _meta.json
nx-
class prefixes in blog<Tab />
accept ComponentProps<'div'>
icons
folder@types/github-slugger
instead of manually declaring typeresizeObserver
for dynamic content since it provoke jumps on tabs switch when there is #
anchor in urlNextraConfig.unstable_defaultShowCopyCode
option to show button by default, add copy
and copy=false
options for code-blocksexperimental.newNextLinkBehavior
- true
and false
overflow-x-scroll
for tables<Banner />
from <Navbar />
to components/banner.tsx
nx-
prefixes to table/th/tr elementsen-US
instead default
"layout": "raw"
should render all
unstyled elements, except <a />
nx-
prefix for grow
class in <LocaleSwitch />
e.ctrlKey
instead e.metaKey
<Tab />
contentpostcss-import
to import css variables stylessearch.loading
for control loading textmain.extraContent
theme option with main
optiontheme-context.ts
<Flexsearch />
eslint-plugin-tailwindcss
Toggle Word Wrap
button for code-blocks (only for mobile)<div />
wrappers, align text on right side for next linkWarning: A title element received an array
and possible [object Object]
in titlesearch.component: null
editLink.component
meta.json
to _meta.json
nx-
prefix in sidebarCopy Code
button in code-blocks without languageclassnames
package with clsx
as he's fasterindex
page doesn't existlightningcss
instead cssnano
config.bodyExtraContent
optiongetComponents
export, export useMDXComponents
from @mdx-js/react
instead<Input/>
from <Search/>
and <Flexsearch/>
ref.current.querySelector
over document.querySelector
, remove load
prop in <Search />
locale
prop from theme config, forbid passing in renderComponent
"experimental.images.allowFutureImage": true
is set in next config_meta.json#theme.collapsed
option for control state sidebar's foldersnext-seo
getNextSeoProps
titleSuffix
theme option in favor of getNextSeoProps.titleTemplate
description
, canonical
, openGraph
values to <NextSeo />
component from page frontMatter
, values can be overridden with return value of getNextSeoProps
banner.dismissible
meta.json#theme.timestamp
option to hide Last updated on ...
svg
icons in /icons
folder, reusing same icons <MoonIcon />
/ <SunIcon />
in blog from docs./contexts
directory.md
/.mdx
as welluseRef
for <details />
<NextImage />
even when url not relative but that starts from /
(public directory)useConfig
and useTheme
ref.current
instead document.getElementsByClassName
useConfig
/useRouter
inside head()
PageOpts.meta
to PageOpts.frontMatter
ref.current
over document.querySelector
in sidebartransform-none
css classeditLink
option was not merged with default config editLink
rehype-pretty-code
version, support showLineNumbers
components
folder and replace exports:
import Callout from 'nextra-theme-docs/callout'
import Collapse from 'nextra-theme-docs/collapse'
import Bleed from 'nextra-theme-docs/bleed'
import { Tabs, Tab } from 'nextra-theme-docs/tabs'
by
import { Callout, Collapse, Bleed, Tabs, Tab } from 'nextra-theme-docs'
withLayout
logic directly in nextra loaderprimaryHue
, primaryHue.dark
and primaryHue.light
theme optionsbasePath
to the linksnx-
prefixes in sidebar"layout": "raw"
should have unstyled <a />
and <p />
elements as wellDocsThemeConfig.navbar
config option for overriding navbarnextra-body-typesetting-article
backESC
icon vertical alignmentimport { getComponents } from 'nextra-theme-docs'
Published by github-actions[bot] almost 2 years ago
Published by github-actions[bot] almost 2 years ago
Published by github-actions[bot] almost 2 years ago
Published by github-actions[bot] almost 2 years ago
Published by github-actions[bot] almost 2 years ago
Published by github-actions[bot] almost 2 years ago
Published by github-actions[bot] almost 2 years ago
navbar.extraContent
nextra
/nextra-theme-docs
/nextra-theme-blog
be compatible with next 13Published by github-actions[bot] almost 2 years ago
nextra
/nextra-theme-docs
/nextra-theme-blog
be compatible with next 13Published by github-actions[bot] almost 2 years ago
nextra
/nextra-theme-docs
/nextra-theme-blog
be compatible with next 13Published by github-actions[bot] almost 2 years ago
Published by github-actions[bot] almost 2 years ago
Published by github-actions[bot] almost 2 years ago
search.loading
for control loading text