Skip to content

feat: Implement source mapping for elements and enhance inline parsing - #275

Merged
frostming merged 2 commits into
masterfrom
feat/source-span
Aug 12, 2026
Merged

feat: Implement source mapping for elements and enhance inline parsing#275
frostming merged 2 commits into
masterfrom
feat/source-span

fix: address source mapping review feedback

d2c06a0
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Aug 12, 2026 in 0s

95.72% (-0.43%) compared to c898b78

View this Pull Request on Codecov

95.72% (-0.43%) compared to c898b78

Details

Codecov Report

❌ Patch coverage is 92.56198% with 18 lines in your changes missing coverage. Please review.
✅ Project coverage is 95.72%. Comparing base (c898b78) to head (d2c06a0).

Files with missing lines Patch % Lines
marko/element.py 84.00% 4 Missing and 8 partials ⚠️
marko/block.py 95.65% 0 Missing and 2 partials ⚠️
marko/source.py 80.00% 1 Missing and 1 partial ⚠️
marko/ext/gfm/elements.py 97.72% 0 Missing and 1 partial ⚠️
marko/inline.py 96.77% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #275      +/-   ##
==========================================
- Coverage   96.15%   95.72%   -0.43%     
==========================================
  Files          21       21              
  Lines        2107     2317     +210     
  Branches      305      337      +32     
==========================================
+ Hits         2026     2218     +192     
- Misses         42       47       +5     
- Partials       39       52      +13     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.