在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):euclio/vim-markdown-composer开源软件地址(OpenSource Url):https://github.com/euclio/vim-markdown-composer开源编程语言(OpenSource Language):Rust 67.5%开源软件介绍(OpenSource Introduction):vim-markdown-composervim-markdown-composer is a plugin that adds asynchronous Markdown preview to Neovim and Vim. By default, vim-markdown-composer uses a blazing-fast CommonMark (and
GitHub)-compliant renderer. However, it can be configured to use any external
program for rendering, such as RequirementsThis plugin requires Neovim or Vim 8. If you are using an OS with Vim
pre-installed, the system Vim might be too old (see This plugin supports Windows, macOS, and Linux. In addition to Neovim or Vim, vim-markdown-composer requires a distribution of
Rust with vim-markdown-composer officially targets the latest version of stable Rust. InstallationUse whatever plugin manager you like. If you aren't familiar with plugin managers, I recommend vim-plug. vim-plugHere's an example of managing installation with vim-plug: function! BuildComposer(info)
if a:info.status != 'unchanged' || a:info.force
if has('nvim')
!cargo build --release --locked
else
!cargo build --release --locked --no-default-features --features json-rpc
endif
endif
endfunction
Plug 'euclio/vim-markdown-composer', { 'do': function('BuildComposer') } VundleIn your Plugin 'euclio/vim-markdown-composer' Once you have installed the plugin, close Vim/Neovim then (on Linux): $ cd ~/.vim/bundle/vim-markdown-composer/
# Vim
$ cargo build --release --no-default-features --features json-rpc
# Neovim
$ cargo build --release Dein.vim
Other plugin managersYou should run If you use the above snippet, everything should be taken care of automatically. Plugin OptionsBy default,
Documentation
AcknowledgmentsThis plugin is inspired by suan's vim-instant-markdown. This plugin was built with aurelius, a Rust library for live-updating Markdown previews. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论