toppair / peek.nvim

Markdown preview plugin for Neovim
MIT License
581 stars 37 forks source link

Preview markdown callouts #66

Open aelsadi opened 1 week ago

aelsadi commented 1 week ago

Is your feature request related to a problem? Please describe. It is unpleasant when previewing markdown files with callouts and they are not rendered properly.

Describe the solution you'd like It would be great if callouts where rendered like the following in the preview rather than as code blocks:

> [!note] > This is a note

[!note] This is a note

> [!important] > This is important

[!important] This is important

> [!tip] > This is a tip

[!tip] This is a tip

> [!warning] > This is a warning

[!warning] This is a warning

> [!caution] > This is caution notice

[!caution] This is caution notice

Itz-Abhishek-Tiwari commented 1 week ago

Is your feature request related to a problem? Please describe. It is unpleasant when previewing markdown files with callouts and they are not rendered properly.

Describe the solution you'd like It would be great if callouts where rendered like the following in the preview rather than as code blocks:

[!note] > This is a note

Note

This is a note

[!important] > This is important

Important

This is important

[!tip] > This is a tip

Tip

This is a tip

[!warning] > This is a warning

Warning

This is a warning

[!caution] > This is caution notice

Caution

This is caution notice

Have same issue 1+