Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Most languages not working (e.g. Python) #796

Closed
fladd opened this issue Oct 7, 2015 · 2 comments
Closed

Most languages not working (e.g. Python) #796

fladd opened this issue Oct 7, 2015 · 2 comments

Comments

@fladd
Copy link

fladd commented Oct 7, 2015

I selected all languages on the download page, then downloaded the corresponding js and css files.

Only the "built-in" languages are highlighted (e.g. language-clike), but not the extra ones (e.g. language-python does not work!), even though they are part of the js file.

I tried both, development and minified version.

I use the default theme.

@nauzilus
Copy link
Contributor

nauzilus commented Oct 7, 2015

Woah :(

Bison extends the language c, but Prism is loads bison first (since components.js is in alphabetical order), and the c grammar hasn't yet been defined, so fails to load anything after bison.

I think crystal is also going to be a problem, because it loads ruby.

I'm at work so can't fix this at the moment. I think Prism (specifically download.js) is going to need to be smarter about handling dependencies. To make sure they're loaded in an appropriate manner.

@fladd: temporary workaround, uncheck bison and ruby.

@Golmote
Copy link
Contributor

Golmote commented Oct 7, 2015

This is fixed now #797 is merged.
Thanks for reporting!

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

No branches or pull requests

3 participants