Skip to content
This repository has been archived by the owner on Oct 9, 2019. It is now read-only.

Live preview not working Atom 1.0.11 #33

Open
lionelvillard opened this issue Sep 14, 2015 · 6 comments
Open

Live preview not working Atom 1.0.11 #33

lionelvillard opened this issue Sep 14, 2015 · 6 comments

Comments

@lionelvillard
Copy link

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
Copy link
Author

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.

@austinkelleher
Copy link

+1

@SINeWang
Copy link

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

@SINeWang
Copy link

my atom version is 1.0.19

@ghost
Copy link

ghost commented Jan 7, 2016

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

@astorfi
Copy link

astorfi commented Jun 11, 2017

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants