Skip to content

fix: preserve footnotes in canonical serialization - #81

Merged
Iktahana merged 1 commit into
mainfrom
agent/fix-footnote-serialization
Aug 14, 2026
Merged

fix: preserve footnotes in canonical serialization#81
Iktahana merged 1 commit into
mainfrom
agent/fix-footnote-serialization

Conversation

@Iktahana

Copy link
Copy Markdown
Contributor

Closes #80.

Summary

  • serialize GFM footnote definitions from Rust-owned mdast, including multi-paragraph and nested block content
  • serialize reference link definitions with labels, URLs, and optional titles
  • cover numeric and named footnotes, Unicode/ZWJ, nested lists, reference definitions, and canonical idempotence in Rust and Node

Validation

  • cargo fmt --check
  • cargo clippy -- -D warnings
  • cargo test (119 passed, 5 ignored across Rust suites)
  • pnpm build
  • pnpm --filter @illusions-lab/mdi test (85 passed)
  • pnpm typecheck

@codecov

codecov Bot commented Aug 14, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 93.67089% with 5 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
mdi-core/src/lib.rs 93.67% 5 Missing ⚠️

📢 Thoughts on this report? Let us know!

@Iktahana
Iktahana marked this pull request as ready for review August 14, 2026 07:29
@Iktahana
Iktahana merged commit d86a298 into main Aug 14, 2026
22 checks passed
@Iktahana
Iktahana deleted the agent/fix-footnote-serialization branch August 14, 2026 07:30
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.

serializeMdi 2.0.21 drops GFM footnote definition markers

1 participant