About project

Hook plugin for Liferay portal, adds source code syntax highlight functionality to all portal pages. Source code syntax highlight based on Alex Gorbatchev's SyntaxHighlighter JS library. Additionally, plugin adds "Code" popup button to CKEditor and upgrades CKEditor to latest version (4.4.7).

Source code and war are available on our GitHub repository:

Download source / war

Project page on GitHub

Plugin deployment

1. Download war (or build it from sources).

2. Copy war to portal autodeploy directory (or deploy it manually).

Build from sources

Project based on Liferay Maven SDK and can be built using every IDE with Apache Maven  support (e.g. Netbeans, Eclipse, or Idea) or directly using CLI. In order to build the portlet:

1. Install Apache Maven.

2. Download source code from GitHub or import it using git.

3. Unzip archive and run Maven:

mvn install

Created war archive will be available in /target folder in project directory.