executablebooks / rst-to-myst

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

✨ NEW: Convert math directives to dollar-math #21

Closed chrisjsewell closed 3 years ago

chrisjsewell commented 3 years ago

Where possible (when no options outside label are specified) math directives are converted to dollar-delimited math.

codecov[bot] commented 3 years ago

Codecov Report

Merging #21 (1b99d90) into main (53efa23) will increase coverage by 0.14%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #21      +/-   ##
==========================================
+ Coverage   84.15%   84.29%   +0.14%     
==========================================
  Files          10       10              
  Lines        1609     1617       +8     
==========================================
+ Hits         1354     1363       +9     
+ Misses        255      254       -1     
Flag Coverage Δ
pytests 84.29% <100.00%> (+0.14%) :arrow_up:

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

Impacted Files Coverage Δ
rst_to_myst/cli.py 83.85% <ø> (ø)
rst_to_myst/markdownit.py 91.70% <100.00%> (+0.17%) :arrow_up:
rst_to_myst/mdformat_render.py 97.24% <100.00%> (+0.91%) :arrow_up:

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 53efa23...1b99d90. Read the comment docs.