Highlight.js for Evolution
WordPress plugin to use highlight.js on my portfolio website.
by Matheus Misumoto · github.com/matheusmisumoto/evolution-code-highlight
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/matheusmisumoto/evolution-code-highlight/archive/refs/heads/main.zipThis simple WordPress plugin imports a custom build of the highlight.js library, a syntax highlighter written in JavaScript. It was written to be useful on blog posts of my website.
For more information on highlight.js, please refer to its documentation.
Languages
The custom build of highlight.js used in this repository supports the following syntaxes:
- accesslog
- bash
- cmake
- css
- dart
- dockerfile
- gradle
- haskell
- ini
- java
- javascript
- json
- kotlin
- makefile
- nginx
- php
- powershell
- properties
- shell
- sql
- swift
- typescript
- yaml
Styling
The CSS is based on the github-dark highlight.js theme. It has some minor adjustments to adapt to the custom Evolution theme for WordPress used on my website.
Developed with ☕ by Matheus Misumoto in Santos, Brazil