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

Prism My Code

Gutenberg block for code Highlighting.

by Faramaz Patrick · github.com/wpperformance/prism-my-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/wpperformance/prism-my-code/archive/refs/heads/main.zip

Declares an update source (goodmotion-block-simple), so updates arrive through the plugin's own updater.

Readme

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

Read the full README on GitHub →