You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Details
The previous change to latex rendering did not correctly handle all the
edge cases around how a formula could be rendered. In particular if
we've added a line above and inlined a formula then padding below should
insert a virtual line below, the current implementation added a gap to
the bottom of the line above.
The fix is pretty simple, add padding to the output directly, rather
than trying to capture all the possible conditions and manipulating the
final virtual lines.
Added unit tests to validate this new behavior, as well as behavior
introduced in the previous change. Minor refactor to test directory,
store tests that use demo files as input in a subdirectory, avoids some
clutter.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@
6
6
7
7
- remove delimiters around latex text before converting [2c6cf12](https://github.com/MeanderingProgrammer/render-markdown.nvim/commit/2c6cf127c577712bd29d38f6391b3045c5f0180a)
0 commit comments