Fossil

Check-in [50dcf92f85]
Login

Check-in [50dcf92f85]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add an "eye-candy": if a footnote's mark is followed then the corresponding back-reference is highlighted, if a footnote's back-reference is followed then highlight the corresponding footnote's mark.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | markdown-footnotes
Files: files | file ages | folders
SHA3-256: 50dcf92f85750f57baf5ac33e06a3c424103d10d6851edae600ce3c193ba79f2
User & Date: george 2022-01-30 17:08:27.234
Context
2022-01-30
17:38
Do not assume little-endian architecture within <tt>to_base26()</tt> function. ... (check-in: 4b63b1ee55 user: george tags: markdown-footnotes)
17:08
Add an "eye-candy": if a footnote's mark is followed then the corresponding back-reference is highlighted, if a footnote's back-reference is followed then highlight the corresponding footnote's mark. ... (check-in: 50dcf92f85 user: george tags: markdown-footnotes)
2022-01-29
00:19
Decouple parsing and HTML-specific rendering. Add support for back references in the list of footnotes. WIP - inline and multiline footnotes are not yet implemented. ... (check-in: e3710ccd3a user: george tags: markdown-footnotes)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/default.css.
1672
1673
1674
1675
1676
1677
1678






1679
1680
1681
1682
1683
1684
1685
}
div.content  div.markdown > ol.footnotes > li {
  margin-bottom: 0.5em;
}
div.content  div.markdown > ol.footnotes > li > .footnote-backrefs {
  margin-right: 1em;
  font-weight: bold;






}

/* Objects in the "desktoponly" class are invisible on mobile */
@media screen and (max-width: 600px) {
  .desktoponly {
    display: none;
  }







>
>
>
>
>
>







1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
}
div.content  div.markdown > ol.footnotes > li {
  margin-bottom: 0.5em;
}
div.content  div.markdown > ol.footnotes > li > .footnote-backrefs {
  margin-right: 1em;
  font-weight: bold;
}
div.markdown > ol.footnotes > li > .footnote-backrefs > a:target {
  background: gold;
}
div.markdown a.noteref:target > sup {
  background: gold;
}

/* Objects in the "desktoponly" class are invisible on mobile */
@media screen and (max-width: 600px) {
  .desktoponly {
    display: none;
  }