Skip to content

The function generate_toc_id isn't setup for unicode #170

@kylerove

Description

@kylerove

I want to be able to dynamically create anchors to header elements outside the TOC, ideally using the built-in Jekyll slugify: latin filter. Example:

<h2 id="rin">Riñón</h2>

The anchor id drops non-latin characters. Sadly, this behavior doesn't match slugify filter options of pretty, ascii, or latin. Because the routines do not match, I cannot dynamically create a link that specifies this link. Of course, there are ways around this, but would be cool if the "slugs" created by this plugin could match jekyll slugify output with a setting or by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions