跳到内容

Vaaky Highlighter — Syntax Highlighter, Code Blocks, Line Numbers for Gutenberg

v1.2.0

WebHat · 2021年10月5日 上架

Lightweight syntax highlighter with code blocks, line numbers, copy-to-clipboard, and 35+ themes. A fast, free alternative to Prism for WordPress.

正在使用
10+
评分
4.5 / 5
累计下载
4,128
最近更新
2026年5月21日
2 条评价需要 WordPress 6.5+已测试到 7.0.9PHP 7.4+

贡献者

截图

Plugin settings — visual theme picker with live previews of 35+ themes, plus System Information and Quick Links sidebar
Plugin settings — visual theme picker with live previews of 35+ themes, plus System Information and Quick Links sidebar
Plugin settings — more theme previews plus the Block Defaults section (Code Overflow, Show Line Numbers, Word Wrap)
Plugin settings — more theme previews plus the Block Defaults section (Code Overflow, Show Line Numbers, Word Wrap)
Frontend rendering — TypeScript and JavaScript code blocks with line numbers and the floating copy button
Frontend rendering — TypeScript and JavaScript code blocks with line numbers and the floating copy button
Frontend rendering — multi-language showcase (Dockerfile, Java, R, Ruby, PowerShell, Bash) with line numbers
Frontend rendering — multi-language showcase (Dockerfile, Java, R, Ruby, PowerShell, Bash) with line numbers
Frontend rendering — PHP and Twig code blocks with line numbers and syntax highlighting
Frontend rendering — PHP and Twig code blocks with line numbers and syntax highlighting

Vaaky Highlighter is a lightweight syntax highlighter plugin for the WordPress Gutenberg editor. Add beautiful code blocks with line numbers, a copy-to-clipboard button, optional filename label, automatic language detection, and 35+ themes. Powered by Highlight.js — a fast, dependency-free alternative to Prism.

Syntax highlighting is powered by Highlight.js, a fast and dependency-free JavaScript library that supports multiple programming languages and themes.

Vaaky Highlighter is ideal for developers, bloggers, technical writers, and documentation sites who want elegant syntax-highlighted code without unnecessary bloat.

Using it is simple: add the Vaaky Highlighter Sourcecode block in Gutenberg, paste your code, and publish — the plugin handles everything automatically.

View the live demo of all supported themes:
Demo Page

What’s new in 1.2.0

  • Line numbers for code blocks
  • Floating copy-to-clipboard button on every block
  • Optional filename label (renders as a tab above the code)
  • Word-wrap toggle per block + global default
  • Visual theme picker (no more guessing from a dropdown)
  • Modernized build using @wordpress/scripts
  • Drops PHP 5.6 / WordPress 6.0 support — now requires PHP 7.4 / WordPress 6.5

Usage

  1. Add the Vaaky Highlighter block in the Gutenberg editor
  2. Paste or write your code
  3. Select a language (optional)
  4. Save and view your page on the frontend

Supported Languages

  • Apache
  • Bash
  • C
  • C#
  • C++
  • CSS
  • DNS Zone file
  • DOS
  • Django
  • Dockerfile
  • Go
  • HTML / XML
  • Handlebars
  • JSON
  • Java
  • JavaScript
  • Markdown
  • Nginx
  • Objective-C
  • PHP
  • Plaintext
  • PostgreSQL & PL/pgSQL
  • PowerShell
  • Python
  • R
  • Ruby
  • Rust
  • SCSS
  • SQL / MySQL
  • Shell
  • Twig
  • TypeScript
  • YAML / YML

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums