-
-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Did you read the documentation and check existing issues?
- I have read all the documentations (README,
:h livepreview, Wiki) - I have updated the plugin to the latest version before submitting this issue
- I have searched the existing issues and closed issues issues
Neovim version (nvim -v)
0.11.2
Operating system/version
Arch
Browser/version
Firefox 140.0
Describe the bug

Anything multi line renders as a single line, this applies to matrices, aligned environments and probably others as well. Fractions are strangely unaffected.
Side note, github has the same bug 😅
Their markdown implementation is hot garbage and doesn't adhere to their own spec.
I tried to reproduce this with a minimal implementation based on react, and the issue is not present
https://github.com/paperbenni/livedown
Steps To Reproduce
- Create markdown document with latex blocks
# Hello
$$
\Sigma = \begin{pmatrix}
a & 0 \\ 0 & b
\end{pmatrix}
$$
Expected Behavior
render like katex without github styling (or whatever is causing the problem) and other latex compilers do
Health
==============================================================================
livepreview: 1 ⚠️
Check dependencies ~
- ✅ OK Nvim 0.11.2 is compatible with Live Preview
- ✅ OK `sh` is available
- ✅ OK `mini.pick` is installed
- ✅ OK `fzf-lua` is installed
- ⚠️ WARNING `telescope` (optional) is not installed
Checkhealth server and process ~
- ✅ OK This Nvim process's PID is 1632188
- ✅ OK Server is healthy on port 5500
- ✅ OK Server root: /home/benjamin/ufr/stochastik
Check your live-preview.nvim config ~
- Your configuration table
- {
browser = "default",
dynamic_root = false,
picker = "",
port = 5500,
sync_scroll = true
}Minimal config to reproduce
vim.cmd.set "rtp+=/path/to/live-preview.nvim"
require("livepreview.config").set {
--- Configuration here
}Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working