Linux 软件免费装
Banner图

Vaaky Highlighter

开发者 raunak01
更新时间 2023年9月9日 20:19
捐献地址: 去捐款
PHP版本: 5.6 及以上
WordPress版本: 6.3.1
版权: GPLv2 or later
版权网址: 版权信息

标签

php snippets blocks gutenberg code js highlighter syntax highlighter sourcecode highlight.js

下载

1.0.1 1.0.4 1.0.2 1.0.3 1.0.5 1.0.0

详情介绍:

Vaaky Highlighter is a free, easy-to-use, syntax highlighting tool for WordPress. Highlighting is powered by the Highlight.js javaScript syntax highlighter with language auto-detection and zero dependencies. Using it will be as straightforward as adding a replacement Vaaky Highlighter Sourcecode block (Gutenberg) and insert the code that you wish to highlight: Vaaky Highlighter takes care of the rest! Here is the demo page of all the supported themes.

安装:

Minimum Requirements Automatic installation Automatic installation is that the best choice -- WordPress can handle the file transfer, and you won’t have to be compelled to leave your browser.
  1. Go to "Plugins" in your WordPress dashboard
  2. Click on "Add New"
  3. Type "Vaaky Highlighter" in the search field
  4. Click “Search Plugins.”
  5. Once you’ve found us, you can view details about it such as the point release, rating, and description. Most importantly, of course, you can install it by clicking "Install" and WordPress will take it from there.
  6. Click on Activate
Manual installation
  1. Download the plugin archive
  2. Go to "Plugins" in your WordPress dashboard
  3. Click on "Add New"
  4. Upload Vaaky Highlighter archive
  5. Activate the plugin
Having issue? Check the WordPress codex contains instructions on how to do this here.

屏幕截图:

  • Visual Studio 2015 Theme: JavaScript Snippet
  • Visual Studio 2015 Theme: PHP Snippet
  • Visual Studio 2015 Theme: YAML Snippet
  • Sublime (Monokai) Theme: JavaScript Snippet
  • Sublime (Monokai) Theme: YAML Snippet
  • Sublime (Monokai) Theme: PHP Snippet with Scrollbar
  • Sublime (Monokai) Theme: PHP Snippet with Line Wrap

升级注意事项:

There isn't any upgrade notice at this point.

常见问题:

What is the theme it supports

= 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.

How an add a language that is not supported by you but supported by highlightjs

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

Does it has line number

No

Does it support Classic Editor? If yes then how to add the code snippet?

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.

更新日志:

1.0.5 2023-09-09 1.0.4 2023-05-05 1.0.3 2022-10-26 1.0.2 2022-03-20 1.0.1 2021-10-15 1.0.0 2021-10-05