gaearon / gaearon/gitbook-plugin-prism

Can't make it work

Open
#34 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
89
Forks
26
PR merge metrics
No merged PRs in 30d

Description

I'm new to both this plugin and gitbook.

I've tried to install this plugin by editing my `book.json` like this:
```json
{
"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?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported behavior with the supplied book.json configuration and inspect the plugin's GitBook installation entry points. Confirm whether Prism is loaded and whether its supported languages are highlighted; done means the documented configuration works and the reported languages no longer fall back to GitBook's default highlighting.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.