<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://softwaremaniacs.org/wiki/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://softwaremaniacs.org/wiki/feed.php">
        <title>Software Maniacs wiki highlight.js</title>
        <description></description>
        <link>http://softwaremaniacs.org/wiki/</link>
        <image rdf:resource="http://softwaremaniacs.org/wiki/lib/tpl/default/images/favicon.ico" />
       <dc:date>2012-05-16T20:25:52-07:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://softwaremaniacs.org/wiki/doku.php/highlight.js:api?rev=1335562482&amp;do=diff"/>
                <rdf:li rdf:resource="http://softwaremaniacs.org/wiki/doku.php/highlight.js:contributor_checklist?rev=1329413693&amp;do=diff"/>
                <rdf:li rdf:resource="http://softwaremaniacs.org/wiki/doku.php/highlight.js:highlight.js?rev=1334343482&amp;do=diff"/>
                <rdf:li rdf:resource="http://softwaremaniacs.org/wiki/doku.php/highlight.js:language?rev=1333962160&amp;do=diff"/>
                <rdf:li rdf:resource="http://softwaremaniacs.org/wiki/doku.php/highlight.js:line_numbers?rev=1334341579&amp;do=diff"/>
                <rdf:li rdf:resource="http://softwaremaniacs.org/wiki/doku.php/highlight.js:mode_reference?rev=1335247681&amp;do=diff"/>
                <rdf:li rdf:resource="http://softwaremaniacs.org/wiki/doku.php/highlight.js:style?rev=1308586883&amp;do=diff"/>
                <rdf:li rdf:resource="http://softwaremaniacs.org/wiki/doku.php/highlight.js:testing_highlight.js?rev=1334356369&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://softwaremaniacs.org/wiki/lib/tpl/default/images/favicon.ico">
        <title>Software Maniacs wiki</title>
        <link>http://softwaremaniacs.org/wiki/</link>
        <url>http://softwaremaniacs.org/wiki/lib/tpl/default/images/favicon.ico</url>
    </image>
    <item rdf:about="http://softwaremaniacs.org/wiki/doku.php/highlight.js:api?rev=1335562482&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-04-27T14:34:42-07:00</dc:date>
        <title>highlight.js:api</title>
        <link>http://softwaremaniacs.org/wiki/doku.php/highlight.js:api?rev=1335562482&amp;do=diff</link>
        <description>Highilght.js exports a few functions as methods of the hljs object.

highlight(language_name, value)

Core highlighting function. Accepts a language name and a string with the code to highlight. Returns an object with the following properties:

	*  language: language name, same as the one passed into a function, returned for consistency with highlightAuto
	*  relevance: integer value
	*  keyword_count integer value
	*  value: HTML string with highlighting markup</description>
    </item>
    <item rdf:about="http://softwaremaniacs.org/wiki/doku.php/highlight.js:contributor_checklist?rev=1329413693&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-02-16T09:34:53-07:00</dc:date>
        <title>highlight.js:contributor_checklist</title>
        <link>http://softwaremaniacs.org/wiki/doku.php/highlight.js:contributor_checklist?rev=1329413693&amp;do=diff</link>
        <description>1. Put language definition into a .js file

Its only job is to define new attribute hljs.LANGUAGE.some_language where “some_language” is a short language identifier suitable to be used as a class name in HTML and CSS. Common good practice is not to define any global variables and do all the work inside an anonymous function:</description>
    </item>
    <item rdf:about="http://softwaremaniacs.org/wiki/doku.php/highlight.js:highlight.js?rev=1334343482&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-04-13T11:58:02-07:00</dc:date>
        <title>highlight.js:highlight.js</title>
        <link>http://softwaremaniacs.org/wiki/doku.php/highlight.js:highlight.js?rev=1334343482&amp;do=diff</link>
        <description>Note: These are developer resources on highlight.js. For usage documentation go to the highlight.js user site.

	*  Language definition guide
	*  Mode reference
	*  Library API
	*  Style definition guide
	*  Contributor checklist
	*  Testing highlight.js</description>
    </item>
    <item rdf:about="http://softwaremaniacs.org/wiki/doku.php/highlight.js:language?rev=1333962160&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-04-09T02:02:40-07:00</dc:date>
        <title>highlight.js:language</title>
        <link>http://softwaremaniacs.org/wiki/doku.php/highlight.js:language?rev=1333962160&amp;do=diff</link>
        <description>Highlighting overview

Programming language code consists of parts with different rules of parsing: keywords like for or if don't make sense inside strings, strings may contain backslash-escaped symbols like \” and comments usually don't contain anything interesting except the end of the comment.</description>
    </item>
    <item rdf:about="http://softwaremaniacs.org/wiki/doku.php/highlight.js:line_numbers?rev=1334341579&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-04-13T11:26:19-07:00</dc:date>
        <title>highlight.js:line_numbers</title>
        <link>http://softwaremaniacs.org/wiki/doku.php/highlight.js:line_numbers?rev=1334341579&amp;do=diff</link>
        <description>Highlight.js' notable lack of line numbers support is not an oversight but a feature. Following is the explanation of this policy from the current project maintainer (hey guys!):

	&quot; One of the defining design principles for highlight.js from the start was simplicity. Not the simplicity of code (in fact, it's quite complex) but the simplicity of usage and of the actual look of highlighted snippets on HTML pages. Many highlighters, in my opinion, are overdoing it with such things as separate colo…</description>
    </item>
    <item rdf:about="http://softwaremaniacs.org/wiki/doku.php/highlight.js:mode_reference?rev=1335247681&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-04-23T23:08:01-07:00</dc:date>
        <title>highlight.js:mode_reference</title>
        <link>http://softwaremaniacs.org/wiki/doku.php/highlight.js:mode_reference?rev=1335247681&amp;do=diff</link>
        <description>Types

Types of attributes values in this reference:
identifier String suitable to be used as a Javascript variable and CSS class name (i.e. mostly /[A-Za-z0-9_]+/) regexp     String representing a Javascript regexp. Note that since it's not a literal regexp all back-slashes should be repeated twice boolean    Javascript boolean: true or false number     Javascript number object     Javascript object: { ... } array      Javascript array: [ ... ] 
Attributes

className

type: identifier</description>
    </item>
    <item rdf:about="http://softwaremaniacs.org/wiki/doku.php/highlight.js:style?rev=1308586883&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-06-20T09:21:23-07:00</dc:date>
        <title>highlight.js:style</title>
        <link>http://softwaremaniacs.org/wiki/doku.php/highlight.js:style?rev=1308586883&amp;do=diff</link>
        <description>Overview

Highlighted code is a single &lt;code&gt; element containing &lt;span&gt;s with pre-defined classes. Its appearance is controlled by a normal CSS file that can use all the features of CSS.

There are however a couple of specific requirements for highlight.js styles:</description>
    </item>
    <item rdf:about="http://softwaremaniacs.org/wiki/doku.php/highlight.js:testing_highlight.js?rev=1334356369&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-04-13T15:32:49-07:00</dc:date>
        <title>highlight.js:testing_highlight.js</title>
        <link>http://softwaremaniacs.org/wiki/doku.php/highlight.js:testing_highlight.js?rev=1334356369&amp;do=diff</link>
        <description>Build highlight-pack.js

	*  Make sure you have Python 2.4 or higher and Java installed
	*  Decide which language files you want to include in the package.
	*  From the root directory, run python build.py [flags] [langnames]
		*  current flags: --help (help), --no-compression or -n for no compression
		*  [langnames] e.g. xml ruby , etc (with spaces)</description>
    </item>
</rdf:RDF>

