Footnotes
Some checks failed
CI / Check typos (push) Successful in 8s
CI / Check links (push) Failing after 12s
CI / Clippy (push) Successful in 54s
CI / Build and test (push) Successful in 1m11s
CI / Build container (push) Successful in 52s
CI / Deploy on waypoint (push) Successful in 44s

This commit is contained in:
2025-11-06 22:20:01 -08:00
parent d508a0d031
commit a3ff195de9
11 changed files with 579 additions and 558 deletions

View File

@@ -40,7 +40,7 @@ pub struct FootnoteRefAnchor {
impl NodeValue for FootnoteRefAnchor {
fn render(&self, _: &Node, fmt: &mut dyn markdown_it::Renderer) {
for ref_id in self.ref_ids.iter() {
fmt.text(" ");
fmt.text_raw(" ");
fmt.open(
"a",
&[
@@ -49,7 +49,7 @@ impl NodeValue for FootnoteRefAnchor {
],
);
// # ↩ with escape code to prevent display as Apple Emoji on iOS
fmt.text("\u{21a9}\u{FE0E}");
fmt.text_raw("back \u{21a9}\u{FE0E}");
fmt.close("a");
}
}