Skip to content

fix: distinguish escaped literal syntax at parse time - #83

Merged
Iktahana merged 1 commit into
mainfrom
agent/paste-literal-followup
Sep 3, 2026
Merged

fix: distinguish escaped literal syntax at parse time#83
Iktahana merged 1 commit into
mainfrom
agent/paste-literal-followup

Conversation

@Iktahana

@Iktahana Iktahana commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • mark escaped Markdown/MDI text in the Rust mdast bridge without changing normal canonical serialization
  • include the leading escape bytes in literal and semantic source spans
  • retain table and footnote canonicalization while exposing literal intent to editor adapters

Verification

  • cargo test --manifest-path mdi-core/Cargo.toml
  • cargo clippy --manifest-path mdi-core/Cargo.toml --all-targets --all-features -- -D warnings
  • cargo fmt --manifest-path mdi-core/Cargo.toml --check
  • downstream milkdown-plugin-mdi full suite: 180 passed, 2 skipped

@codecov

codecov Bot commented Sep 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Iktahana
Iktahana merged commit b8d5598 into main Sep 3, 2026
22 checks passed
@Iktahana
Iktahana deleted the agent/paste-literal-followup branch September 3, 2026 14:20
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.

1 participant