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

Add prism.js support #224

Merged
merged 1 commit into from
Nov 1, 2017
Merged

Add prism.js support #224

merged 1 commit into from
Nov 1, 2017

Conversation

kakawait
Copy link
Owner

@kakawait kakawait commented Nov 1, 2017

With new syntax highlighter prism.js, you have to configure which syntax highlighter you want to use between highlight.js and prism.js. However if you don't configure it, no syntax highligh will be apply (where previously highlight.js was forced by default).

Please upgrade you're config.toml (you can checkout exampleSite/config.toml to see sample) to re-add highlight.js as syntax highlighter (except if you don't need it):

[params]
  syntaxHighlighter = "highligth.js"

fixes #24

With new syntax highlighter prism.js, you have to configure which syntax highlighter you want to use between _highlight.js_ and _prism.js_. **However if you don't configure it, no syntax highligh will be apply** (where previously _highlight.js_ was forced by default).

Please upgrade you're `config.toml` (you can checkout `exampleSite/config.toml` to see sample) to re-add _highlight.js_ as syntax highlighter (except if you don't need it):

```toml
[params]
  syntaxHighlighter = "highligth.js"
```

fixes #24
@kakawait kakawait added this to the 0.4.2-BETA milestone Nov 1, 2017
@kakawait kakawait self-assigned this Nov 1, 2017
@kakawait kakawait merged commit cc26fa8 into develop Nov 1, 2017
@kakawait kakawait deleted the feature/prism-js branch November 1, 2017 21:40
zacbook pushed a commit to zacbook/hugo-tranquilpeak-theme that referenced this pull request Nov 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant