Skip to content
Snippets Groups Projects

CONTENTS OF THIS FILE

  • Introduction
  • Requirements
  • Installation
  • Configuration
  • Maintainers

INTRODUCTION

highlight.php is a Drupal module that provides highlight.php filter integration.

REQUIREMENTS

Drupal core filter.

INSTALLATION

Install as you would normally install a contributed Drupal module. Visit: https://www.drupal.org/node/1897420 for further information.

CONFIGURATION

1. Navigate to Administration > Extend and enable the module.
2. Navigate to Administration > Configuration > Content authoring > Text
   formats and editors.
3. Select your main text format and enable "Highlight <code> tags in HTML."
   filter.
4. Save configuration.
5. Make sure the CKEditor has a button "Code block"
6. Create new node, insert php code, select it and press "Code block" button
7. Save new node.

MAINTAINERS