Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/ryanbester/wp-highlight-plugin/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
WordPress plugin to highlight code blocks, and provide documentation on function hover.
Install
- Clone the repo
npm installnpm run build- Copy the directory to your WordPress install directory.
Usage
Create a Code Block item inside the block editor.
Function Documentation
Documentation dictionaries can be created within the WordPress admin panel. They simply map a function name to markdown documentation.
Number Circles
Number circles can be inserted in code with the special ({ number )} syntax. They can be referenced in the block
editor by selected Number Circle within the floating toolbar.