Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(nextra): allow define custom languages for shiki with mdxOptions.rehypePrettyCodeOptions option #562

Merged
merged 1 commit into from Jul 22, 2022

Conversation

dimaMachina
Copy link
Collaborator

fixes #555

@changeset-bot
Copy link

changeset-bot bot commented Jul 22, 2022

🦋 Changeset detected

Latest commit: f6a3fac

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Jul 22, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
nextra-theme-docs-dev ✅ Ready (Inspect) Visit Preview Jul 22, 2022 at 10:30AM (UTC)
1 Ignored Deployment
Name Status Preview Updated
nextra ⬜️ Ignored (Inspect) Jul 22, 2022 at 10:30AM (UTC)

Comment on lines -5 to -12
export interface LoaderOptions {
theme: Theme
themeConfig: string
export interface LoaderOptions extends NextraConfig {
locales: string[]
defaultLocale: string
unstable_staticImage: boolean
unstable_flexsearch: boolean
mdxOptions: Pick<ProcessorOptions, 'rehypePlugins' | 'remarkPlugins'>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shuding shuding merged commit 4a7cc10 into core Jul 22, 2022
@shuding shuding deleted the rehypePrettyCodeOptions branch July 22, 2022 13:35
tatukoivisto pushed a commit to tatukoivisto/nextra that referenced this pull request Aug 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants