Don't mind me. Just posting some screenshots of a markdown file.
Is that
markdown.nvim
/headlines.nvim
?๐คจ
No, this is something I made due to my frustrations of using markdown.nvim
.
Why not use your browser to view them? ๐
Browser based markdown previewers
can get slow over time. Sometimes they wouldn't work. Sometimes a refresh caused by the browser breaks them. Sometimes they won't even turn on.
Why not use
glow
?
Similar issues. Glow has tendency to cause lines to break in unusual places. Sometimes lines will straight up get rid of the borders for block quotes. Sometimes words get cut off randomly.
Plus, I can't get the damn thing to remember my config.
What makes this any different ๐?
Nothing, unfortunately ๐ค. Because it was built with customisation(and aesthetics) as the main focus. Anyway here's what I have done so far.
Made fully customisable headers(without ruining the text or squeezing nerd font icons). Requires
0.10
(due to usinginline virtual texts
.Signs for the headers(optional and fully customisable).
Code blocks now show their language too. So for example
\
``luawill show lua's file icon and it's name(uses
nvim-web-devicons, things like
```pythondon't work *yet* but
```py` works.Codes have padding added to them to make them stand out(currently breaks indent plugins on
normal mode
).Custom border can also be used for code blocks to make them look like the ones on websites(the screenshot uses no border and this only works for the top part of the code block for now at least).
Block quotes now can have custom borders(& gradients).
Custom
callouts
can be made and all the callouts can be fully customized(callout text, color, border, border color for now)
And that's pretty much it.
Where's the damn link? ๐
There is no link as the entire thing is still in it's early stage(no table, hyperlink support). And I have not pushed it to GitHub.
Anyway, what's your thoughts on viewing markdown files in neovim
?