atom-rst-preview icon indicating copy to clipboard operation
atom-rst-preview copied to clipboard

Live preview not working Atom 1.0.11

Open lionelvillard opened this issue 9 years ago • 6 comments

Hi,

the live preview does not work on atom 1.0.11, on OSX. When pressing control+shift r nothing is happening, no error, just really nothing.

lionelvillard avatar Sep 14 '15 19:09 lionelvillard

After some investigation, I found the problematic lines of code:

grammars = atom.config.get('rst-preview.grammars') ? []
return unless editor.getGrammar().scopeName in grammars

in my case, scopeName is "text.restructuredtext source.gfm.restructuredtext". When commenting out these two lines of code, the live preview works.

lionelvillard avatar Sep 14 '15 19:09 lionelvillard

+1

austinkelleher avatar Sep 15 '15 18:09 austinkelleher

@lionelvillard +1, commenting out these two lines of code, the live preview works.

SINeWang avatar Oct 30 '15 15:10 SINeWang

my atom version is 1.0.19

SINeWang avatar Oct 30 '15 15:10 SINeWang

Same issue & same solution worked for me on Atom 1.0.11.

ghost avatar Jan 07 '16 21:01 ghost

@lionelvillard Thanks for your answer ... I have the same problem ... Would you please provide more details here? Thanks

astorfi avatar Jun 11 '17 23:06 astorfi