tormodh's wiki : WikiFormatterHightlighter

Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register

Revision [556]

Last edited on 2008-11-20 00:06:38 by tormodh
Additions:
<<This is a highlighter that parses wikka markup, and then displays the resulting html code with GeSHi's ##html4strict## highlighter.
Deletions:
<<
This is a highlighter that parses wikka markup, and then displays the resulting html code with GeSHi's ##html4strict## highlighter.


Revision [555]

Edited on 2008-11-20 00:06:10 by tormodh [fix: adds newline in order to close tables.]
Additions:
$temp .= $wakka->Format($code."\n", $language);
$temp .= '</div>'."\n";
Deletions:
$temp .= $wakka->Format($code, $language);
$temp .= "</div>\n";


Revision [545]

Edited on 2008-11-17 02:20:39 by tormodh [example]
Additions:
<<===Example===
<<
Deletions:
>>===Example===
>>


Revision [544]

Edited on 2008-11-17 02:17:33 by tormodh [example]

No Differences

Revision [543]

Edited on 2008-11-17 02:12:00 by tormodh [example]
Deletions:
eh


Revision [542]

Edited on 2008-11-17 02:11:25 by tormodh [example]

No Differences

Revision [541]

Edited on 2008-11-17 02:08:48 by tormodh [example]
Additions:
eh


Revision [540]

Edited on 2008-11-17 02:08:14 by tormodh [example]
Additions:
""||I'm||Awesome||""
||I'm||Awesome||
||I'm||Awesome||
Deletions:
""||I'm||Awsome||""
||I'm||Awsome||
||I'm||Awsome||


Revision [539]

Edited on 2008-11-17 02:07:19 by tormodh [example]
Additions:
>>===Example===
==Wikka Code==
""|=|Header|=|Says||""
""||I'm||Awsome||""
==Parsed to (this is it!)==
%%(wiki2html)
|=|Header|=|Says||
||I'm||Awsome||
==Rendered as==
|=|Header|=|Says||
||I'm||Awsome||
>>


Revision [538]

Edited on 2008-11-17 02:03:59 by tormodh [example]
Additions:
''This should change nothing, except for wikka highlighters that uses ##Wakka::Format()## - and then you're out sailing already ;)''


Revision [537]

Edited on 2008-11-17 02:02:20 by tormodh [example]
Additions:
''Exchange them with ##""'%%(html4strict)'.$temp.'%%'""## in the file for righteousness! ;)''


Revision [536]

Edited on 2008-11-17 01:56:52 by tormodh [example]
Additions:
''The strange '%'.'%' below is to avoid breaking out of the highlighter before I want to.''
$this->Format('%'.'%(html4strict)'.$temp.'%'.'%');
Deletions:
$this->Format('% %(html4strict)'.$temp.'% %');


Revision [535]

Edited on 2008-11-17 01:51:13 by tormodh [example]
Additions:
The formatter is as follows, call it ##wiki2html## (or something else) and it is then callable by ##""%%(wiki2html)...%%""## or whatever you called it.
$this->Format('% %(html4strict)'.$temp.'% %');
Deletions:
The formatter is as follows, call it ##wiki2html## (or something else) and it is then callable by ##%%(wiki2html)...%%## or whatever you called it.
$this->Format('%%(html4strict)'.$temp.'%%');


Revision [534]

The oldest known version of this page was created on 2008-11-17 01:48:10 by tormodh [example]
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.2804 seconds