jonschlinkert / markdown-toc

API and CLI for generating a markdown TOC (table of contents) for a README or any markdown files. Uses Remarkable to parse markdown. Used by NASA/openmct, Prisma, Joi, Mocha, Sass, Prettier, Orbit DB, FormatJS, Raneto, hapijs/code, webpack-flow, docusaurus, release-it, ts-loader, json-server, reactfire, bunyan, husky, react-easy-state, react-snap, chakra-ui, carbon, alfresco, repolinter, Assemble, Verb, and thousands of other projects.
https://github.com/jonschlinkert
MIT License
1.64k stars 706 forks source link

No link with accentuated characters #149

Open salmonjean opened 5 years ago

salmonjean commented 5 years ago

Hi Support Team,

Links doesn't work with accentuated characters :

image

1. [Aucun accent dans le titre OK](#aucun-accent-dans-le-titre-ok)
1. [Je suis un titre avec des caractères accentués KO](#je-suis-un-titre-avec-des-caracteres-accentues--ko)

It's not a big surprise. Special characters are forbidden in markdown (like Id Attribute in Html). https://stackoverflow.com/questions/12747043/how-to-handle-special-characters-in-markdown

Do you know a workaround please?

Thanks for your help

Jean

Nouuu commented 3 years ago

Same issue, i have to fix it by hand behind the process....

tiagolpadua commented 3 years ago

Same here, in portuguese we have a lot of accentuated characters