Commit graph

8 commits

Author SHA1 Message Date
Tommi Virtanen
b72024d2b0 Use user input as part of footnote identifier
Named footnotes (`[^foo]` instead of `[^42]`) use the name in HTML
node identifiers. This allows for stable references. Cool URLs don't
change.

Fixes #92
2020-01-15 18:52:35 -07:00
yuin
64d4e16bf4 Fixes #65 2019-12-18 11:37:07 +09:00
yuin
171dbc66a8 Fixes #50 2019-12-05 13:39:55 +09:00
Nathan Galt
6f9629fb2b Improve display of footnote backlinks
This makes three changes to backlinks:

- Inserts a space before `<a href='…'>↩</a>` to make it look better
- Uses hexadecimal references (`&#x…;`) instead of decimal references for clarity
- Adds U+FE0E VARIATION SELECTOR 15 to the ↩ to suppress emojification on both iOS and Edge on Windows

If variation selector 15 isn't appended to the ↩, then the return arrow will show up as an emoji on iOS and Edge for Windows. The Pandoc project has already run into this quirk as documented on https://github.com/jgm/pandoc/issues/5469 and they've pushed a change for their Markdown processor already.
2019-12-03 19:34:16 -08:00
yuin
2f292e5b74 Fixes #44, Fixes #45 2019-12-02 03:10:06 +09:00
yuin
54fc7c3f18 Closes #40 2019-11-29 17:03:00 +09:00
yuin
21b4a046d0 Fix bugs in footnotes 2019-07-24 20:55:37 +09:00
yuin
2ddc99baff Add extension tests, Fix bugs in extensions 2019-05-16 19:46:36 +09:00