WP Manifestindependent plugin directory
manifest / editor / prism-my-code

Prism My Code

Gutenberg block for code Highlighting.

★ 0stars

Install

Download source zip No release zip yet

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/wpperformance/prism-my-code/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Code Block with Prism JS Highlight

Gutenberg block for code Highlighting.

Features

  • Choose a theme in settings of plugin.
  • show or hide the numbers of lines
  • Highlight lines
  • Choose a language :
    • markup
    • css
    • clike
    • javascript
    • actionscript
    • aspnet
    • bash
    • c
    • csharp
    • diffdocker
    • go
    • graphql
    • http
    • java
    • json
    • json5
    • jsonp
    • kotlin
    • makefile
    • markdown
    • markup-templating
    • mongodb
    • nginx
    • ocaml
    • php
    • python
    • jsx
    • tsx
    • ruby
    • rust
    • scss
    • smarty
    • sql
    • swift
    • toml
    • twig
    • typescript
    • vim
    • warpscript
    • wasm
    • yaml

Not available for the moment

  • Preview of Prims render in Gutenberg editor.

Screenshot

https://github.com/WP-Performance/prism-my-code/blob/main/prism-my-code.png https://github.com/WP-Performance/prism-my-code/blob/main/prism-my-code-front.png https://github.com/WP-Performance/prism-my-code/blob/main/prism-my-code-settings.png