Skip to content

feat: handle non-latin mdx file to match path#19

Open
kimploo wants to merge 1 commit into
shadcn:mainfrom
kimploo:main
Open

feat: handle non-latin mdx file to match path#19
kimploo wants to merge 1 commit into
shadcn:mainfrom
kimploo:main

Conversation

@kimploo

@kimploo kimploo commented Oct 16, 2023

Copy link
Copy Markdown
  • Handle non-Latin path parameters.
    • Use decodeURIComponent() to parse percentage-escaped paths to match content name properly.
  • Update Contentlayer to 3.3.0 to utilize Better Non-Latin Character Support.
    • Fix the issue of generating duplicate variable names in .contentlayer/generated/Post/_index.mjs when the MDX file name includes non-Latin characters.

@vercel

vercel Bot commented Oct 16, 2023

Copy link
Copy Markdown

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

Name Status Preview Comments Updated (UTC)
next-contentlayer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 16, 2023 5:44pm

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.

1 participant