Skip to content
This repository has been archived by the owner. It is now read-only.
Mahara code highlighting plugin block
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
artefact/file/blocktype/code
README.md

README.md

Code highlighting artefact block for Mahara

This is my first (ever) experience of developing atop Mahara, written during a hackathon at the Mahara UK 2012 conference. It adds a new block to Mahara's portfolio editor that can highlight the code contained within an uploaded file artefact.

License

Plugin copyright (c) 2012 The Development Manager Ltd;
                          Luke Carrier

highlight.js copyright (c) 2006 Ivan Sagalaev

Installation

Just drop the code directory into the artefact/file/blocktype directory of your installation, then enable the plugin in Administration -> Plugin administration.

Adding support for other languages

Out of the box, support is provided for a few commonly used languages. If you wish to add more, you can download a customised copy of highlight.js and replace the one we ship.

Support

If you'd like a hand installing or using the plugin or suggest a feature, you're welcome to contact me personally by email:

lc at tdm dot info

Alternatively, if you'd like to enquire about my employer's managed services, please contact us via one of the following:

w: opensourcesoftwareservices.com
e: enquiries@opensourcesoftwareservices.com
t: 0333 10 100 89
You can’t perform that action at this time.