markdown-preview.nvim icon indicating copy to clipboard operation
markdown-preview.nvim copied to clipboard

[feature request] preview inside nvim buffer

Open alexzanderr opened this issue 3 years ago • 3 comments

hey. great plugin.

i was wondering if it is possible to have preview inside a vim buffer as a tab vertically splitted rendering all that markdown from your file, everything inside vim/nvim. I dont want always to have my browser splitted in order to write markdown and see the real time result. I just want everything inside vim/nvim.

and another feature request (if possible, ofc):

add an option to change the syntax highlighting for a code block such as:

```python
for i in range(100):
  print("this is a statement")

honestly. i tried both dark and light theme and i dont really like the colors. I just want to change the colors for blocks of code in the markown. overall theme is good, but sometimes in the block code of shell there are no colors which is interesting because in the vim version of this plugin there is syntax highlighting for shell.

hope you are going to take into consideration. thanks.

alexzanderr avatar Jul 22 '21 10:07 alexzanderr

I don't think it is possible to do inside vim, because vim runs in a terminal window, and so you can really modify text there as much as in the browser.

You can change the highlighting by adding custom css and styling classes responsible for it. E.g. here are the JS classes image

sarmong avatar Apr 05 '22 12:04 sarmong

I really want to, bu it's limit by (neo)vim.

iamcco avatar May 13 '22 13:05 iamcco

It is mostly limited by what terminal emulators can do.

sarmong avatar May 13 '22 13:05 sarmong