Skip to content

kat0h/bufpreview.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8e53ffd Β· Jun 27, 2024

History

90 Commits
Jun 27, 2024
Oct 15, 2021
Oct 17, 2021
Sep 26, 2021
Nov 20, 2022
Nov 23, 2022

Repository files navigation

✨ Markdown preview for Vim and Neovim ✨

Powerd By denops.vim🐜

introduction

Preview markdown on your browser.

Main features:

  • πŸ’» Multi Pratform Support (Mac/Linux/Windows)
  • πŸ™Œ Supports Vim and Neovim
  • πŸ“‘ Sync Cursor Position
  • πŸƒ Fast asynchronus updates
  • 🎨 Syntax highlight
  • πŸ“Š Render yaml header
  • πŸ“ˆ Render plantUML
  • ❀️ Simple Dependency and easy to install
  • πŸ–‹ KaTeX Support

install & usage

requirements

Install with vim-plug

Plug 'vim-denops/denops.vim'
Plug 'kat0h/bufpreview.vim', { 'do': 'deno task prepare' }

Install with dein.vim, {'build': 'deno task prepare'}:

call dein#add('vim-denops/denops.vim')
call dein#add('kat0h/bufpreview.vim', {'build': 'deno task prepare'})

Install with minpac

call minpac#add('vim-denops/denops.vim')
call minpac#add('kat0h/bufpreview.vim', {'do': 'silent! !deno task prepare'})

Install with Vundle

Plugin 'vim-denops/denops.vim'
Plugin 'kat0h/bufpreview.vim'

Then prepare the plugin manually where it was installed.

i.e.

cd ~/.vim/bundle/bufpreview.vim && deno task prepare

Commands

" Start the preview
:PreviewMarkdown
" Stop the preview
:PreviewMarkdownStop
" Toggle the window
:PreviewMarkdownToggle

Open preview window automatically

augroup bufpreview
  autocmd!
  autocmd Filetype markdown :PreviewMarkdown
augroup END

Special Thanks

License

MIT

this plugin uses these libraly

Author

Kota Kato

About

A markdown previewer for Vim and Neovim

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages