From: Dmitry S. <mi...@gm...> - 2016-01-30 18:37:43
|
Hi, On Sat, Jan 30, 2016 at 08:59:43PM +0300, 73budden . wrote: > Hi! > I have my repo on Bitbucket. I have titles in Russian, but all > Russian characters are wiped away in autogenerated header ids, so > header ids are just "markdown-header-_1" and so on. > Bitbucket uses safe mode for my md files. > Could it be arranged so that Russian characters are not ignored? You can't use cyrillic letters in HTML node IDs, so you need some kind of transliteration. There is a transliterate package on PyPI [1], though I have never used it myself. Maybe it's possible to make toc extension use it (if it's available, of course), or make it possible for extension users to hook their own custom text processing functions (which will use i.e. that module)? [1]: https://pypi.python.org/pypi/transliterate -- Dmitry Shachnev (aka Дмитрий Шачнев :)) |