punktde/codeview

Provides a Neos CMS nodeType to display code


Keywords
neoscms
License
MIT

Documentation

Latest Stable Version Total Downloads Latest Unstable Version License

CodeView

This package provides a node type to display code using the code highlighter prism (http://prismjs.com/).

Installation and integration

The installation is done with composer:

composer require punktde/codeview

(De)activate CSS / Javascript autoloading

By default, the galleries CSS and JavaScript files are added to the header and footer includes of your page automatically on pages, where an instance of the gallery plugin is added. If you want to compile the JS / CSS into your pages main files you can deactivate this behavior via settings:

PunktDe:
  CodeView:
    loadCSS: false
    loadJS: false