Current toc-org-special-chars-regexp misses some characters. Can we use the same one that GitHub uses ? Here is a test string "Set AA053 Лыв № mon_osced font size(设置等宽字体)"
) - isn't what you think :smile: replace-regexp-in-string with "\\W" outputs "#setaa053Лывавдыmonospacedfontsize设置等宽字体" It should be "set-aa053-Лыв--mon_osced-font-size设置等宽字体"so we probably need something like this "[^\\w\\-_ ]" but for some reason it removes everything.
Current toc-org-special-chars-regexp misses some characters. Can we use the same one that GitHub uses ? Here is a test string
"Set AA053 Лыв № mon_osced font size(设置等宽字体)"
) - isn't what you think :smile:
replace-regexp-in-string
with"\\W"
outputs"#setaa053Лывавдыmonospacedfontsize设置等宽字体"
It should be"set-aa053-Лыв--mon_osced-font-size设置等宽字体"
so we probably need something like this"[^\\w\\-_ ]"
but for some reason it removes everything.