KeesTalksTech Code
WordPress code highlight plugin with Mermaid, Shell output and Spark output support.
by Kees C. Bakker · github.com/keescbakker/ktt-wp-code · website
★ 0stars
0forks
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/keescbakker/ktt-wp-code/archive/refs/heads/main.zipFrom the readme
ktt-wp-code
A plugin to show add highlightjs, hightlight-copy and Mermaid to WordPress.
Supported languages
This plugin supports all the languages of the highlightjs project and:
- Mermaid JS - rendered as diagrams - as seen here: https://keestalkstech.com/2024/01/obtain-an-atlassian-cloud-3lo-refresh-token-with-bash/#the-basic-idea
- sho - shell output - as seen here: https://keestalkstech.com/2022/05/using-the-s3p-api-to-copy-1-3m-of-5m-of-aws-s3-keys/#help
- spartoutput - output from Spark - as seen here: https://keestalkstech.com/2019/11/easy-spark-optimization-for-max-record-aggregate-instead-of-join/#results
- Adds some aliases:
Dev notes
Our dev container works in Bash. A .wp-now cache directory will be created by the bash profile. In the dev container, you can start WordPress with:
This will start WordPress on port 8881.
Todo
- [ ] Create an import file to import some code
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| 2.1.0 | Nov 29, 2024 |
| 2.0.0 | Nov 29, 2024 |
| 1.3.8 | Nov 6, 2024 |
| 1.3.7 | Nov 6, 2024 |
| 1.3.6 | Nov 6, 2024 |
| 1.3.5 | Nov 6, 2024 |
| 1.3.4 | Nov 5, 2024 |
| 1.3.3 | Nov 5, 2024 |
| 1.3.2 | Nov 5, 2024 |
| 1.3.0 | Nov 4, 2024 |
| 1.2.1 | Feb 19, 2024 |
| 1.2.0 | Feb 19, 2024 |
| 1.1.4 | Feb 12, 2024 |
| 1.1.3 | Feb 12, 2024 |
| 1.1.1 | Feb 12, 2024 |
| 1.1.0 | Feb 12, 2024 |
| 0.2 | Jan 7, 2024 |
| 0.1 | Jan 7, 2024 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.