fix: slugify supports better acronyms and preserve non-latin char (#606)

* fix: slugify supports better acronyms and preserve non-latin char

Update slugify function to handle better acronyms and preserve non-latin characters.
- uses slugify (simov) for Latin-only strings to fix acronym issue (eg: e2e-testing)
- uses lodash.kebabcase for strings with non-latin characters to preserve them

* fix: remove dots in slugified titles for view transitions

Fixes #584
This commit is contained in:
Sat Naing
2026-01-14 05:20:25 +07:00
committed by GitHub
parent c20d747f38
commit fb63d96011
5 changed files with 33 additions and 3 deletions
+1
View File
@@ -24,6 +24,7 @@
"remark-toc": "^9.0.0",
"satori": "^0.18.3",
"sharp": "^0.34.5",
"slugify": "^1.6.6",
"tailwindcss": "^4.1.18"
},
"devDependencies": {