The main wiki engine used in mRcore is Text_Wiki. I have added several custom rules and tags to the source of text_wiki and mRcore. All official text_wiki syntax is supported, nothing has been removed, just modified a bit (denoted with * below). This is the quick cheat sheet for the custom wiki parser used in mRcore. An official Text_Wiki cheat sheet can be found here.
* Entire tag not included in default Text_Wiki parser, an mRcore custom enhancement. ** Included in default Text_Wiki parser, but has been modified/expanded for mRcore.
Anchor [[# anchorname]] Auth < auth>..< /auth> Inline or Block Blockquote > Bold **bold text** Italic //italic text// Underline __underlined text__ Strike @@---striked out text@@ Box < box>< /box> or < box :somesmileyicon:>< /box> or < box [[ image someimage ]]>< /box> Inline or own line Center = Code Block < code type="" title="">< /code> Code Inline {{inline code here}} Color ##red|some text here##
Comment < #this would be a comment> or HTML style < !-- comment --> Inline or own line Embed < embed type location> Exclude text only from included document < exclude>...< /exclude> Files see Files Headings +...N. Force close < /+...N>, force collapsed < ->, omit from TOC < notoc>, print page break < pagebreak> Highlight < highlight color> Horizontal Line ----- HTML < html>< /html> Images [[image http://www.site.com/image.jpg]] or [[image files/21/file.jpg link="local:/files/21/file.jpg"]] ... Include Topic < include xx> or Include Topic Section only < include xx somesection> Info Box < info>...< /info> and < infol>...< /infol> for left justify Links to Topics ((1)) or ((About mReschke.com)) or ((1|ClickMe)) or ((About mReschke.com|ClickMe)) Links to URLs [http://google.com ClickMe] or local:/search or [local:/search ClickMe] List Definition : Item 1 : Something here List Ordered # List Unordered * New Line [ \n] No Print < noprint>..< /noprint>
PHP Lookup [[php eregi_replace]] Private < priv>..< /priv> Inline or Block Raw Surround with two tildes Revise see Revise Section < section somename>...</ section> Smileys and Icons see Smileys or Smileys and Icons Subscript Y,,1,, + X Superscript x^^2^^ + y Table of Contents [[toc]] Tables see Tables Teaser < teaser>< /teaser> Textarea with raw HTML must be closed with < /!textarea>
= this would be centered
# First Item # Sub Item _ < code> code box under the second item < /code> # Sub Item # Sub Sub Item # Last Item
# Number One * Bullet * Bullet # Number Two # Sub Number * Bullet
@@--- delete text +++ insert text @@ @@--- delete only @@ @@+++ insert only @@
||~ First ||~ Last ||~ Phone || || Joe || Smith || 555-5551 || || Jane || Smith || 555-5552 ||
||~ Header ||~ Header || || test 1st column || test || ||= asdf ||= asdf || || you can span multiple columns ||||
||~ First ||~ Last ||~ Phone ||< simpletable> || Joe || Smith || 555-5551 || || Jane || Smith || 555-5552 ||
The basic smiley characters plus built in mrcore custom images. You can also add and override smileys using the built in GLOBAL topic functionality of mrcore like this
< phpw> global $global_smileys_topic_id, $global_smileys; $global_smileys_topic_id = xxx; $global_smileys = array( ':code:' => array('mycode', 'Code'), ); < /phpw>
For syntax see Smileys and Icons
* Entire tag not included in default Text_Wiki parser, an mRcore4 custom enhancement. ** Included in default Text_Wiki parser, but has been modified/expanded for mRcore4.