Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: k1LoW/mo
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.23.1
Choose a base ref
...
head repository: k1LoW/mo
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.23.2
Choose a head ref
  • 11 commits
  • 7 files changed
  • 2 contributors

Commits on Mar 28, 2026

  1. Configuration menu
    Copy the full SHA
    32a32f7 View commit details
    Browse the repository at this point in the history

Commits on Mar 31, 2026

  1. 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
    k1LoW committed Mar 31, 2026
    Configuration menu
    Copy the full SHA
    845edde View commit details
    Browse the repository at this point in the history
  2. fix: use pushState instead of replaceState for hash navigation

    Preserve browser back-button navigation through footnote/heading links,
    matching native anchor link behavior.
    k1LoW committed Mar 31, 2026
    Configuration menu
    Copy the full SHA
    38ecdd2 View commit details
    Browse the repository at this point in the history
  3. 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).
    k1LoW committed Mar 31, 2026
    Configuration menu
    Copy the full SHA
    cecf195 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    82cdb59 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9030fd0 View commit details
    Browse the repository at this point in the history
  6. 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.
    k1LoW committed Mar 31, 2026
    Configuration menu
    Copy the full SHA
    4bb425c View commit details
    Browse the repository at this point in the history
  7. Merge pull request #156 from k1LoW/fix-footnote-smooth-scroll

    feat: add smooth scroll for footnote references
    k1LoW authored Mar 31, 2026
    Configuration menu
    Copy the full SHA
    5c9fc8f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    69ce0a1 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6ac3789 View commit details
    Browse the repository at this point in the history
  10. Merge pull request #154 from k1LoW/tagpr-from-v0.23.1

    Release for v0.23.2
    k1LoW authored Mar 31, 2026
    Configuration menu
    Copy the full SHA
    243781c View commit details
    Browse the repository at this point in the history
Loading