Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Use ↩ as default params.FootnoteReturnLinkContents #547

Merged
merged 1 commit into from
Feb 18, 2020
Merged

Use ↩ as default params.FootnoteReturnLinkContents #547

merged 1 commit into from
Feb 18, 2020

Commits on Jun 10, 2019

  1. Use ↩ as default params.FootnoteReturnLinkContents

    This changes the default `params.FootnoteReturnLinkContents` from `<sup>[return]</sup>` to `↩\ufe0e`.
    
    It’s very common to use `↩` in footnote links. However, some platforms like iOS and iPadOS choose to use emoji presentation for this particular character. This leads to lots of blogs, by default, looking silly on portable Apple gizmos, as described in <jgm/pandoc#5469>. By switching to a return arrow with a disable-emojification variation selector, we get blackfriday to do the right thing by default.
    
    Additionally, ↩ is more language-agnostic than “return” is, so blackfriday will work better out of the box for more people.
    adiabatic committed Jun 10, 2019
    Configuration menu
    Copy the full SHA
    412ca19 View commit details
    Browse the repository at this point in the history