Skip to content

Display a formatted code block with syntax highlighting with PageBuilder

Notifications You must be signed in to change notification settings

robaimes/module-pagebuilder-code-block

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Aimes_PageBuilderCodeBlock

"Supported Magento Version" "Latest Release"

  • Compatible with Magento Open Source and Adobe Commerce 2.4.x

Features

Adds a new PageBuilder content type to display code snippets nicely, using highlight.js.

image

image

Planned Features / Improvements

  • Markup rendered on save, instead of generated per page load
  • Better highlight.js theme support
  • Hyva Themes Support

Requirements

  • Magento Open Source or Adobe Commerce version with PageBuilder version ^2.2
    • May support 2.3.x but only tested with 2.4.5

Installation

Please install this module via Composer. This module is hosted on Packagist.

  • composer require aimes/module-page-builder-code-block
  • bin/magento module:enable Aimes_PageBuilderCodeBlock
  • bin/magento setup:upgrade

Licence

GPLv3 © Rob Aimes