Skip to content

Modify footnote backref link content with remark-rehype #1051

Answered by wooorm
starise asked this question in Q&A
Discussion options

You must be logged in to vote

In my case I want to change from «↩» (emoji) to «↩︎» (text).

I don’t think there’s anything specifying that it should render as an emoji btw. This is up to the host environment as far as I understand.
A different example is a snowman, which is often rendered as text, except when followed by VS 16 (U+FE0F), in which case an emoji is preferred. Some more info: https://mts.io/2015/04/21/unicode-symbol-render-text-emoji/.
In your example, the “text one” has a VS 15 (prefer text representation).

I haven't found an option to change the backlink [text] itself

Correct, there is no such feature.

I’m a bit worried about adding another option for this, there are so many for them already.
And, is…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@therealvio
Comment options

@wooorm
Comment options

@therealvio
Comment options

Answer selected by ChristianMurphy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants