"Fossies" - the Fresh Open Source Software Archive

Member "highlight-3.57-x64/extras/web_plugins/movabletype/README" (12 May 2020, 1137 Bytes) of package /windows/www/highlight-3.57-x64.zip:

As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 Plugin Name: Highlight
    2 Plugin URI: http://www.andre-simon.de
    3 Description: Plugin which uses the highlight utility to generate coloured source code
    4 Author: André  Simon
    5 Version: 1.2
    6 Author URI: http://www.andre-simon.de/
    8 == Description ==
   10 The highlight utility converts source code of 120 programming languages to HTML 
   11 with syntax highlighting. This plugin pipes the content of <highlight>-Tags associated
   12 with a lang parameter to highlight, and returns the output code which is finally included
   13 in the MT page.
   15 Usage:
   17 Paste the following in the edit section of the MT blog editing form:
   19 <highlight lang="cpp">#include <stdio.h>
   21 int main (void){
   22   printf("This is some random code");
   23   return 0;
   24 }</highlight>
   26 Use the lang parameter to define the programming language (c, php, py, xml, etc).
   27 See the highlight documentation to learn all possible languages.
   28 See the syntax.php file for some formatting options (line numbering, code
   29 indentation, line wrapping etc).
   31 == Installation ==
   33 1. Install highlight (www.andre-simon.de) on your host
   34 2. Unzip the mt_highlight.zip file and upload the content to the 
   35    `plugins/` directory