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: handle non-latin mdx file to match path #19

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kimploo
Copy link

@kimploo kimploo commented Oct 16, 2023

  • 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
Copy link

vercel bot commented Oct 16, 2023

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.

None yet

1 participant