开发者 | raunak01 |
---|---|
更新时间 | 2023年9月9日 20:19 |
捐献地址: | 去捐款 |
PHP版本: | 5.6 及以上 |
WordPress版本: | 6.3.1 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
= What library does this plugin use? It uses Highlight.js Currently, it supports 25 themes out of which 16 are the dark theme which includes Monokai (Sublime), Visual Studio, GitHub Dark, Android Studio, etc. and 9 are the light themes which include Github, StackOverflow, Google Code, etc.
In that case, do not select any language from dropdown, highlightjs will auto-detect the language. If it still didn't work you can request for a feature request
No
Yes, it will work in WordPress Classic Editor. You have to add it in the form of shortcode, like this [vaakyHighlighterCode lang="php"] Write your code here.[/vaakyHighlighterCode]
.
If you know the abbreviation of the language then you can provide in lang
attribute like php or js or cpp else ignore the attribute all together plugin will auto-detect the language and will highlight based on that.