Repository navigation
Support footnotes and reference-style links - #119
BinaryOutlook wants to merge 1 commit into
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6d3a71f30f
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if (group.isMath || group.isReference) | ||
| return applyInlineStyles(group.text, group.styles); |
There was a problem hiding this comment.
Preserve enclosing links when serializing reference atoms
When an ordinary inline link begins with a newly introduced reference atom, this early return discards the enclosing link's destination. For example, opening [\[label](https://example.com) tail, appending ! to that paragraph, and serializing produces \[label tail!, permanently removing the link. Likewise, [![a][image]](/outer) loses /outer after a neighboring edit. collectCharStyles marks these atoms as both isReference and isLink, but this branch bypasses link serialization; preserve the enclosing link when emitting the reference source. Untouched saves retain the original source and therefore conceal the problem until the paragraph changes.
AGENTS.md reference: AGENTS.md:L51-L51
Useful? React with 👍 / 👎.
Documents using shared link definitions and footnotes now render and remain editable in Visual, Source, and Split views. Adds full, collapsed, and shortcut references, footnote insertion and keyboard navigation, source preservation, linked HTML/PDF notes, and native DOCX/EPUB notes.
Tightens the editor guide, export help, changelog, and acceptance report while retaining syntax examples and format limits. Refs #113.
Validation:
Installed-VS-Code save/reopen and interactive Word editing remain unverified, so this PR does not close #113.