mRcore4 And Text_Wiki Syntax Cheat Sheet
Post # 21 permalink Topic #21 by mreschke on 2008-01-26 11:50:14 (viewed 1,640 times)

Summary[-][- -][++]

Info
The main wiki engine used in mRcore4 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.

Exclamation3
Very Important: In many examples I put a space after the first < so my parser does not pick it up in the examples below, but when your actually typing a document, don't include the space.
Example < code> should actually be typed <code>. Same with ending tags < code>...< /code> would actually be typed <code>...</code>

* 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.

Quick Cheats[-][- -][++]

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
Break \
Center =
Code Block <code type="" title="" height=""></code>
Code Inline {{inline code here}}
Codebox < codebox type="" height="" title="">< /codebox>
Color ##red|some text here##

Comment < #this would be a comment> Inline or own line
Files see Files
Headings + manually force close < /+..n> and default collapse < collapse>
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>
Info Box < info>...< /info>
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 < php>< /php>
PHP Lookup [[php eregi_replace]]
Private < priv>..< /priv> Inline or Block
Raw Surround with two tildes
Revise see Revise
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>
Textbox <textbox height="" title=""></textbox>

Wiki Syntax Details[+][- -][++]

Smileys and Icons Table[-][- -][++]

The basic smiley characters plus mrcore custom icons

For syntax see Smileys and Icons

Exclamation3
Some icons have a smaller derivative which I use mainly in headers, their syntax is always the same as their counterpart, except with an h at the beginning (ie: :hhd: or :h??? or :hdownloads:)

Exclamation3
Also if a word works as plural, like plan or plans, then both can be used (ie: :plan: and :plans:...)


Icon Type Syntax Header Icon
 New New :new:
Up Up :u:
Down Down :d:
Left Left :l:
Right Right :r:
Up Blue Up Blue :ub:
Down Blue Down Blue :db:
Left Blue Left Blue :lb:
Right Blue Right Ble :rb:
Up Green Up Green :ug:
Down Green Down Green :dg:
Left Green Left Green :lg:
Right Green Right Green :rg:
Split Split :split:
Join Join :join:
Refresh Refresh :refresh:
Undo Undo :undo:
Redo Redo :redo:
Flag Flag :flag:
Link Link :link:
Anchor Anchor :anchor:
Related Related :related:
Exclamation2 Eexclaim2 :!!: Exclamation2
Exclamation3 Eexclaim3 :!!!: Exclamation3
Exclamation4 Eexclaim4 :!!!!: Exclamation4
Error Error :error:
Stop Stop :stop:
Info Info :info: / :summary: Info
Question2 Question2 :??: Question2
Question3 Question3 :???: Question3
Comment Comment :comment: Comment
Help Help :help: Help
Idea 2 Idea2 :ii: Idea 2
Fixme Fixme :fixme: Fixme
Toolbox Toolbox :toolbox: Toolbox
Tool Tool :tool: Tool
Plan Plan :plan: / :blueprint: Plan
Construction Construction :construction: Construction
Install Install :install: Install
Settings Setting/Config :setting: / :config: Settings
Download Download :download: Download
Network Network :network: Network
Hard Drive Hard Drive :hd: Hard Drive
Code Code :code: Code
Shell Shell :shell: Shell
Document Document :doc: / :document: Document
Book Book :book: / :read: / :readme: Book
Resource Resource/Reference :resource: / :reference: Resource
Postit Postit/Sticky/Note :postit: / :sticky: / :note: Postit
Graph Graph :graph:
Map Map :map: / :goal:
Clipboard Clipboard :clipboard:
Add Add :add:
Subtract Subtract :subtract:
Check Check :check:
Thumb Up Thumb Up :thumbup:
Thumb Down Thumb Down :thumbdown:
Save Save :save:
Search Search :search:
Hourglass Hourglass :hourglass:


Icon Type Syntax
Smile Smile :) or (:
Razz Razz :P
Very Happy Big Grin :D or :grin:
Wink Wink ;) or (;
Surprised Suprised :o or o: or :eek:
Confused Confused :?
Neutral Neutral :| or |:
Sad Sad :( or ):
Mad Mad :x
Cool Cool 8) or (8
Laughing LoL :lol:
Shocked Shocked :shock:
Rolling Eyes Rolleyes :roll:
Embarassed Redface :oops:
Crying or Very sad Cry :cry:
Evil or Very Mad Evil :evil:
Twisted Evil Twisted :twisted:
Mr. Green Mr. Green :mrgreen:
Exclamation1 Eexclaim1 :!:
Question1 Question1 :?:
Idea 1 Idea1 :i:

* 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.