這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

SyntaxHighlighter Evolved: VHDL Brush

外掛說明

This plugin enables the syntax colorization for the VHDL and Verilog languages by extending the Syntax Highlighter Evolved functionality (and thus, you need to have it installed).

For VHDL examples you can check some of my posts at Estado Finito. Here is another example, using the Xilinx UCF and VHDL coloring: another awesome example.

For Verilog examples, you can pay a visit to Beyond All Repair or Idle Logic.

The people behind it

  • The VHDL brush is an adaptation done by me of the GeSHi syntax by Alexander ‘E-Razor’ Krause. It can be used as language=”vhdl” or with the shortcode [vhdl] … all code … [/vhdl].
  • The Verilog brush was made by Harry Rose at Beyond All Repair. I am just merely putting it into this plugin.
  • The Xilinx UCF support is my work, although it works for the basic stuff. And basic means colorization for NET, LOC, and comments.

Hope it can be of use to any digital designer out there. Need another language or more features? Don’t hesitate to ask!

螢幕擷圖

  • An example of the VHDL brush for SyntaxHighlighter Evolved.
  • An example of the Verilog brush for SyntaxHighlighter Evolved.
  • An example of the Xilinx UCF brush for SyntaxHighlighter Evolved.

安裝方式

Extract all files from the ZIP file and upload the folder to /wp-content/plugins/.

See Also: “Installing Plugins” article on the WP Codex

常見問題集

How do I add keywords to the VHDL syntax?

If you see there are keywords missing, you can edit the file shBrushVhdl.js, located in the plugin directory. You can also open a support topic.

How can I add keywords to the Xilinx UCF syntax?

Since this is in early stage of development, and have no need for further constraints to be added yet, there will be no update for this brush if not asked. However, you can open a topic in support if you have the need for more constraints to be colorized.

Was this all your doing?

No. As I stated on the description, I am merely putting all together from several sources. Other people has done the heavy stuff.

How can I repay you for your job

No need for that.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈SyntaxHighlighter Evolved: VHDL Brush〉的開發相關工作。

參與者

變更記錄

1.1.1

  • Compatibility revision up to WordPress 4.3.

1.1

  • Addition of Verilog highlighting capabilities.
  • Addition of basic highlighting capabilities for UCF files.

1.0

  • VHDL finally on WordPress!