1. Título chino a un slug limpio en Pinyin
Contexto
Un artículo de blog redactado íntegramente en chino necesita una dirección web amigable para buscadores.
Problema
Los caracteres nativos no son adecuados para URLs estándar y legibles.
Cómo usarlo
Se ingresa el texto en chino y se configuran el modo Pinyin sin tono, el separador de guion y el paso a minúsculas.
text: "你好世界 这是第一篇文章", chineseMode: pinyin, pinyinStyle: no-tone, separator: hyphen, case: lowercase, maxLength: 0Resultado
Se obtiene el slug limpio 'ni-hao-shi-jie-zhe-shi-di-yi-pian-wen-zhang'.