riv
Install
To preview,
pip install rst2html5
NeoBundle `gu-fan/riv.vim`
Settings
let g:riv_fold_level = 1
"
let g:riv_fold_auto_update = 0
"
" let g:riv_auto_fold_force = 0
" disable folding
let g:riv_disable_folding = 1
" path to browser
let g:riv_web_browser = '/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome'
let g:riv_web_browser = ''
let g:riv_web_browser = ''
Covert files are placed in
- files in project
- (1)
_build
- (2)
let project1.build_path = ''
- Open build path
:Riv2BuildPath
- Open build path
- (1)
- files not in project
g:riv_temp_path
" directory must exists
let g:riv_temp_path=''
"let g:riv_web_browser = '/path/to/broweser'
let g:riv_temp_path = 0
let g:riv_html_code_hl_style = "friendly"
Usage
Conver to HTML. You need to install docutils
.
pip install docutils
:Riv2HtmlFile
Convert to HTML and preview it
:Riv2HtmlAndBrowse
Tips
disable foldings
" disable folding
let g:riv_disable_folding = 1