Skip to content

Bump highlight.js from 9.18.1 to 10.1.1 #11

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

Merged
merged 2 commits into from
Sep 25, 2020
Merged

Bump highlight.js from 9.18.1 to 10.1.1 #11

merged 2 commits into from
Sep 25, 2020

Conversation

vfcp
Copy link
Contributor

@vfcp vfcp commented Jul 16, 2020

Bumps highlight.js from 9.18.1 to 10.1.1

After review of VERSION_10_UPGRADE.md and VERSION_10_BREAKING_CHANGES.md, found no incompatibility with markdown-it-highlightjs.

Although one of the tests add to be adjusted since v10 no longer outputs surrounding <span class='php'>...</span>

vfcp added 2 commits July 16, 2020 16:29
Bumps highlight.js from 9.18.1 to 10.1.1

After review of [VERSION_10_UPGRADE.md](https://github.com/highlightjs/highlight.js/blob/master/VERSION_10_UPGRADE.md) and [VERSION_10_BREAKING_CHANGES.md](https://github.com/highlightjs/highlight.js/blob/master/VERSION_10_BREAKING_CHANGES.md), found no incompatibility with markdown-it-highlightjs.

Although one of the tests add to be adjusted since v10 no longer outputs surrounding `<span class='php'>...</span>`
…anguage-'

Markdown-it has an option called `langPrefix` for the same propose which defaults to `language-`.

Default `language-` prefix value follows W3C recommendation.

Highlight.js default behavior adds language to class list without any prefix (same as setting `langPrefix = ''` in md options).
@valeriangalliat valeriangalliat merged commit 1c44695 into valeriangalliat:master Sep 25, 2020
@valeriangalliat
Copy link
Owner

Thanks a lot! Sorry for the delay :) Released with 3.3.0

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

Successfully merging this pull request may close these issues.

2 participants