ElMassimo / iles

🏝 The joyful site generator
https://iles.pages.dev
MIT License
1.07k stars 31 forks source link

The mdx name in Chinese is not supported now #143

Closed hujintao0309 closed 2 years ago

hujintao0309 commented 2 years ago

The mdx name in Chinese is not supported now? how can I use Chinese as my posts name

ElMassimo commented 2 years ago

Hi @hujintao0309!

I'm not familiar with the Chinese character set, but pull requests to fix it are welcome 😃

As a workaround, you can use alphanumeric characters for the filenames, and provide a page title using Chinese characters, or override the route path in each file.


Please follow the bug report guidelines in the template, including detailed information of what is not working, replication steps, and if possible screenshots (browser and inspector tools if relevant).

Closing until replication steps are provided 😃

hujintao0309 commented 2 years ago

Now I have found a way to solve it,I still use Chinese as the file name of mdx,Then reset the path in mdx.

ElMassimo commented 2 years ago

Glad to hear that, feel free to share your solution in the Discussions section for other Chinese users, thanks 😊