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
feat: latex converter can now be a list, prefer utftex converter, fallback to latex2text
## Details
The `latex.converter` option can now be a `string[]`, in addition to
`string`. When it is a list the first available executable on the
system is used. The default value has been updated to:
`{ 'utftex', 'latex2text' }`. This means `utftex` will be used if it is
available on the system with a fallback to `latex2text`. In this way we
should avoid breaking anyone who continues to use `latex2text`. The only
edge case is someone with both executables available but who prefers the
output of `latex2text`, in which case they will need to set
`converter = 'latex2text'` in their config to continue using it.
Minor updates to various tests to take this into account as well as
added a helper function to provide the first available executable from a
list of input, as it's also logic needed in the health check. Updated
relevant demo in README as well.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@
12
12
### Bug Fixes
13
13
14
14
- use display width of concealed ranges [b4885a9](https://github.com/MeanderingProgrammer/render-markdown.nvim/commit/b4885a95e5082a6ed164830c581aac257a74f355)
15
+
- top & bottom padding for latex [5b01324](https://github.com/MeanderingProgrammer/render-markdown.nvim/commit/5b01324a5fce277183098eac0a2cdb9c1b446b73)
0 commit comments