-
Notifications
You must be signed in to change notification settings - Fork 34
Comparing changes
Open a pull request
base repository: k1LoW/mo
base: v0.23.1
head repository: k1LoW/mo
compare: v0.23.2
- 11 commits
- 7 files changed
- 2 contributors
Commits on Mar 28, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 32a32f7 - Browse repository at this point
Copy the full SHA 32a32f7View commit details
Commits on Mar 31, 2026
-
feat: add smooth scroll for footnote references
Fix broken footnote navigation caused by rehype-sanitize doubling the `user-content-` ID prefix (remark-gfm already generates prefixed IDs). Set `clobberPrefix: ""` in the sanitize schema to prevent the clash. Add smooth scroll behavior to all internal hash links (#-prefixed), so clicking a footnote reference smoothly scrolls to its definition and the backlink (↩) scrolls back to the reference. Closes #155
Configuration menu - View commit details
-
Copy full SHA for 845edde - Browse repository at this point
Copy the full SHA 845eddeView commit details -
fix: use pushState instead of replaceState for hash navigation
Preserve browser back-button navigation through footnote/heading links, matching native anchor link behavior.
Configuration menu - View commit details
-
Copy full SHA for 38ecdd2 - Browse repository at this point
Copy the full SHA 38ecdd2View commit details -
fix: address review feedback for footnote smooth scroll
- Preserve rehype-sanitize DOM-clobbering protection by keeping the default clobberPrefix and adding a rehype plugin that strips the user-content- prefix from remark-gfm footnote IDs before sanitize re-adds it (avoiding double-prefixed IDs without dropping security). - Skip smooth scroll on modified clicks (ctrl/cmd/shift/alt) so browser default behavior (e.g., open in new tab) is preserved. - Respect prefers-reduced-motion for all smooth scroll navigation (hash links in MarkdownViewer and ToC heading clicks in App).
Configuration menu - View commit details
-
Copy full SHA for cecf195 - Browse repository at this point
Copy the full SHA cecf195View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82cdb59 - Browse repository at this point
Copy the full SHA 82cdb59View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9030fd0 - Browse repository at this point
Copy the full SHA 9030fd0View commit details -
fix: narrow rehype prefix stripping to footnote IDs only
Limit rehypeStripClobberPrefix to remark-gfm footnote IDs (fn-*, fnref-*, footnote-label) to avoid collisions with raw HTML user-content-* IDs.
Configuration menu - View commit details
-
Copy full SHA for 4bb425c - Browse repository at this point
Copy the full SHA 4bb425cView commit details -
Merge pull request #156 from k1LoW/fix-footnote-smooth-scroll
feat: add smooth scroll for footnote references
Configuration menu - View commit details
-
Copy full SHA for 5c9fc8f - Browse repository at this point
Copy the full SHA 5c9fc8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 69ce0a1 - Browse repository at this point
Copy the full SHA 69ce0a1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ac3789 - Browse repository at this point
Copy the full SHA 6ac3789View commit details -
Merge pull request #154 from k1LoW/tagpr-from-v0.23.1
Release for v0.23.2
Configuration menu - View commit details
-
Copy full SHA for 243781c - Browse repository at this point
Copy the full SHA 243781cView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.23.1...v0.23.2