While building a Jekyll site we came across an issue where header IDs were being generated in non-ascii character sets. Some content is Arabic, so obviously worse there. When using the kramdown parser the transliterated_header_ids option is respected.
While building a Jekyll site we came across an issue where header IDs were being generated in non-ascii character sets. Some content is Arabic, so obviously worse there. When using the kramdown parser the transliterated_header_ids option is respected.
To reproduce it:
Output:
It looks like the GFM parser is adding an
id
attribute to the element before the kramdown converter gets a chance to transliterate the ID.