
Register the brush in the languages.xml (Not applicable with version 2.0.6 and above). A brush entry always has the following format: Within this XML file there is a list of default brushes and below that comments indicate where you can add your custom brushes. This file is located in the root of the JAR file or in the "src/main/resources" directory of the development/svn version. Register the brush in the atlassian-plugin.xml. Development/SVN version: the "src/main/resources/sh/scripts" directory. Jar version: the "sh/scripts" directory within the JAR file. Store the brush in the appropriate location. Create the JavaScript brush file using the description on. To add support for new languages, follow the steps below: The implementation of the Newcode macro is based on the 2.0 version of the JavaScript based SyntaxHighlighter by Alex Gorbatchev ( ). Search for 'Configuration - To add an additional language' For version 1.9 and up: Provide a complete set of test-cases (both unit and integration test) as suggested on the Atlassian Development Network.Īdding New Languages For version 2.1.0 and up:. Target the newest release of Confluence and use it's features. Integrate the plugin within the Confluence Plugin Repository. Migrate the project to the latest Maven 2 infrastructure. Support export options wihtin Confluence (e.g. #Confluence language switcher upgrade
Upgrade to a new version of the SyntaxHighlighter library.Solve the outstanding bugs within the current code.The main focus points of this initial development were: This new plugin was development from the ground up - though heavily inspired by the old code. In February 2009, redevelopment was started by Jeroen Benckhuijsen. Further development wasn't done due to time constraints.
Although it provided some basic functionality, there were editing issues and the Macro was not on-par with the original Code plugin. This plugin (up to version 1.03) supported Confluence v2.2 and up. Development of the Newcode plugin was started by Agnes Ro and Mike Cannon-Brookes.