You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I have been using InstantRst for some time, and find this plugin really wonderful.
However, there is a small issue with the option g:instant_rst_static - it does not seem to work. I want to change the style sheet from mars.css to rhythm.rss, and add this line let g:instant_rst_static = '/path/to/instant_rst/static/rhythm.css' in ~/.vimrc, but the preview of the rst file in firefox does not seem to change at all.
Then I try to modify /instant_rst/templates/index.html, changing the line <link rel="stylesheet" href="/static/mars.css">
to <link rel="stylesheet" href="/static/rhythm.css">
and this time it works. So I just wonder what the real function of g:instant_rst_static is. (It sets the -t argument of instant-rst.py in Rykka/InstantRst actually. So Is it just an option to indicate the directory of static files rather than to refer to a css file directly? And if I want to change the style sheet, I have no other options but to modify the related line in index.html as above?)
By the way, I also happen to find that rhythm.css in Rykka/InstantRst is a little different from the one in Rykka/rhythm. I prefer the latter one for it has wider line spacing, which makes the rendering of rst much more beautiful. (The former one would sometimes make the lines overlap with each other.)
Thanks again for your great work!
The text was updated successfully, but these errors were encountered:
Hi! I have been using InstantRst for some time, and find this plugin really wonderful.
However, there is a small issue with the option
g:instant_rst_static
- it does not seem to work. I want to change the style sheet frommars.css
torhythm.rss
, and add this linelet g:instant_rst_static = '/path/to/instant_rst/static/rhythm.css'
in~/.vimrc
, but the preview of the rst file in firefox does not seem to change at all.Then I try to modify
/instant_rst/templates/index.html
, changing the line<link rel="stylesheet" href="/static/mars.css">
to
<link rel="stylesheet" href="/static/rhythm.css">
and this time it works. So I just wonder what the real function of
g:instant_rst_static
is. (It sets the-t
argument ofinstant-rst.py
in Rykka/InstantRst actually. So Is it just an option to indicate the directory of static files rather than to refer to a css file directly? And if I want to change the style sheet, I have no other options but to modify the related line inindex.html
as above?)By the way, I also happen to find that
rhythm.css
in Rykka/InstantRst is a little different from the one in Rykka/rhythm. I prefer the latter one for it has wider line spacing, which makes the rendering of rst much more beautiful. (The former one would sometimes make the lines overlap with each other.)Thanks again for your great work!
The text was updated successfully, but these errors were encountered: