Closed GyverLibs closed 2 years ago
i wouldn't recommend to edit these files because they will be removed on each plugin update. instead enqueue your custom enlighterjs version directly.
technically you have to modify /resources/enlighterjs/enlighterjs.min.js
and click on "save changes" on the Enlighter settings page to purge the cached files.
the mentioned filters are not related to the internal keywords - see https://github.com/EnlighterJS/documentation/blob/master/wordpress/FilterHooks.md
thanks! It worked after "save changes"
Hello! I need to add a couple of keywords to cpp language (byte, boolean, etc.). I added them to
...__cplusplus)\b/g,type:"e3"},{regex:/\b(\w+\d+?_t)\b/g,type:"k5"},{regex:/\b(word|boolean|byte...
but it doesn't work.Also this issue says that "it is possible to re-order the language list using the build-in filters". Where are these filters? Thanks