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

Can't make it work #34

Open
zabojad opened this issue Jan 23, 2019 · 2 comments
Open

Can't make it work #34

zabojad opened this issue Jan 23, 2019 · 2 comments

Comments

@zabojad
Copy link

zabojad commented Jan 23, 2019

I'm new to both this plugin and gitbook.

I've tried to install this plugin by editing my book.json like this:

{
  "root": "./docs/",
  "plugins": ["prism", "-highlight"]
}

It doesn't work, the syntax highlighting is still the default one from Gitbook and the languages supported by prism and not the default Gitbook's highlight doesn't hightlight at all...

Is there anything else to do to install this plugin?

@zabojad
Copy link
Author

zabojad commented Jan 23, 2019

I really do not get it. I'm using gitbook for the first time. I need prism to get Haxe language highlighting.

My repo is actually Open Source so here it is: https://github.com/zabojad/haxe-react-native-stack

And here is the gitbook: https://tfetiveau.gitbook.io/haxe-react-native-stack

Do you see anything in my setting that leads to prism not working? @robmcguinness maybe?

@robmcguinness
Copy link
Contributor

@zabojad I didn't see anything unusual. I compared it to my sample project https://github.com/robmcguinness/gitbook-prism-example and it looked similar. I don't use the plugin much anymore so maybe something broke and I'm not aware.

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

2 participants