cyrillic alphabet ignores in file names #674
Unanswered
dipsy
asked this question in
General and Help
Replies: 1 comment
-
Cyrillic is going to be difficult as the file names end up in the url when published. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
flowershow can't works with cyrillic file names.
content layers cuts symbols with
const makeVariableName = flow(idToFileName, (_) => camelCase(_, { stripRegexp: /[^A-Z0-9\_]/gi }))
in https://github.com/contentlayerdev/contentlayer/blob/9fc4ecf173fc9d526e11c7a7abeb0f3c720a0cc5/packages/%40contentlayer/core/src/generation/generate-dotpkg.ts
So we have only "md" without filename
which generates fatal error.
Any chance to support cyrillic alphabet in file names?
Beta Was this translation helpful? Give feedback.
All reactions