Skip to content

Render multi‑paragraph footnotes inline and restore nested list indentation#102

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-footnote-display-issues
Draft

Render multi‑paragraph footnotes inline and restore nested list indentation#102
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-footnote-display-issues

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 16, 2026

Long footnotes were being dropped, the back‑link icon wrapped to its own line, and nested list items rendered as top‑level bullets instead of sublists.

  • Footnote parsing & layout
    • Accept base‑indented multi‑paragraph definitions and keep the back‑ref in the last paragraph so it stays inline.
  • List styling
    • Reinstate consistent padding/margins for ordered/unordered lists and their nested variants.
const backRefHtml = `<a href="#${safeBackRefId}" class="footnote-backref" aria-label="Back to content">↩</a>`;
const noteHtml = renderDefinitionContent(
  footnoteDefinitions.get(id) || "",
  { appendHtml: backRefHtml }
);

Copilot AI and others added 2 commits May 16, 2026 04:50
Agent-Logs-Url: https://github.com/ThisIs-Developer/Markdown-Viewer/sessions/ba5d080a-a4d8-4241-92af-5f5f6138151d

Co-authored-by: ThisIs-Developer <109382325+ThisIs-Developer@users.noreply.github.com>
Agent-Logs-Url: https://github.com/ThisIs-Developer/Markdown-Viewer/sessions/ba5d080a-a4d8-4241-92af-5f5f6138151d

Co-authored-by: ThisIs-Developer <109382325+ThisIs-Developer@users.noreply.github.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 16, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
markdown-viwer Ready Ready Preview, Comment May 16, 2026 4:54am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants