Skip to content
This repository was archived by the owner on Mar 11, 2024. It is now read-only.

Removes HLJS deprecation warning#11

Open
jmpp wants to merge 1 commit into
ConsenSys-archive:releasefrom
jmpp:patch-1
Open

Removes HLJS deprecation warning#11
jmpp wants to merge 1 commit into
ConsenSys-archive:releasefrom
jmpp:patch-1

Conversation

@jmpp

@jmpp jmpp commented Apr 19, 2022

Copy link
Copy Markdown

As of highlight.js@10.7.0 , the highlight(lang, code, ....args) syntax is deprecated in favor of highlight(code, options)

This PR simply removes the deprecation warning that is shown when using the chromafi() function

As of **highlight.js@10.7.0** , the `highlight(lang, code, ....args)` syntax is deprecated in favor of `highlight(code, options)`

This PR simply removes the deprecation warning that is shown when using the `chromafi()` function
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant