Code Highlight: Difference between revisions

From Objectif Client Inc
Jump to navigation Jump to search
(Created page with "Category:Test Category:Demo Category:Extension == Module == Download module at http://www.mediawiki.org/wiki/Special:ExtensionDistributor/SyntaxHighlight_GeSHi S...")
(No difference)

Revision as of 17:02, 15 November 2014

Module

Download module at [SyntaxHighlight_GeSHi]

tar -xzf SyntaxHighlight_GeSHi-REL1_23-4959271.tar.gz -C /var/www/mediawiki/extensions

Setup

Copy file into extensions folder Add the following code at the end of LocalSettings.php

require_once( "$IP/extensions/TreeAndMenu/TreeAndMenu.php" ); 

Sample code

{{#tree:root=Step by Step web site Creation|
* Enregistrement

** Registraire

***[[http://gandi.net gandi]]


** All in one
*** [[http://www.hostpapa.ca hostpapa]]

** Social Media **
*** Google +
Must create a page
[[https://plus.google.com Google +]]

*** [[http://facebook.com Facebook]]
*** [[http://linkedin.com Linkedin ]]
Etc ...
}}

Result