-
Introduction
A nvim file previewer written in Rust, it only supports markdown file parsed by concisemark for now.
-
Installation
You should install these prerequisites firstly
Then install this plugin with vim-plug using the following configuration
Plug 'ikey4u/nvim-previewer', { 'do': 'cargo build --release' }
To cutmoize the broswer and listening port, using these options
" if not set, the default value is empty let g:nvim_previewer_browser = "firefox" " if not set, the default value is 3008 let g:nvim_previewer_port = 3008
-
Usage
nvim-previewer provides two themes, your can run
:Preview
or:PreviewAlt
to preview your markdown file in broswer.nvim-previewer supports exporting markdown to latex source, and compile the latex source to PDF document (depends on latex). To compile the latex source to PDF file, you should install texlive and rsvg-convert. If you have cargo installed, you can install rsvg-convert using the following command
cargo install --git https://gitlab.gnome.org/GNOME/librsvg.git --tag 2.55.90
If you just want to get the latex source, then texlive and rsvg-convert are not required.
-
Logs
Log files are stored into
nvim-previewer
directory under the cache directory of neovim (get it using:echo stdpath('cache')
in daily.
-
Notifications
You must be signed in to change notification settings - Fork 1
ikey4u/nvim-previewer
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A concisemark previewer plugin for neovim
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published