executablebooks / rst-to-myst

Convert ReStructuredText to MyST Markdown
https://rst-to-myst.readthedocs.io
MIT License
64 stars 11 forks source link

✨ NEW: Add table rendering #2

Closed chrisjsewell closed 3 years ago

chrisjsewell commented 3 years ago

If tables are compatible with Markdown (single header row, no merged cells), then they will be converted to Markdown, otherwise they are wrapped in an eval_rst directive.

codecov[bot] commented 3 years ago

Codecov Report

Merging #2 (97af8f4) into main (6b38f86) will increase coverage by 0.28%. The diff coverage is 86.15%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main       #2      +/-   ##
==========================================
+ Coverage   78.97%   79.26%   +0.28%     
==========================================
  Files           8        8              
  Lines        1189     1249      +60     
==========================================
+ Hits          939      990      +51     
- Misses        250      259       +9     
Flag Coverage Δ
pytests 79.26% <86.15%> (+0.28%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
rst_to_myst/states.py 82.51% <80.00%> (-0.27%) :arrow_down:
rst_to_myst/renderer.py 86.02% <87.75%> (+0.18%) :arrow_up:
rst_to_myst/parser.py 95.94% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 6b38f86...26cb9e3. Read the comment docs.