Creole Usage (From bukkit.org) - UnluckyNinja/Mouse-Killer GitHub Wiki

Some are valid, the others are invalid.

WikiCreole

WikiCreole attempts to be a universal wiki markup language to be used across different wiki software.

More information can be found at http://www.wikicreole.org

The following is a cheat sheet for the syntax for WikiCreole.

Text Formatting

Italics

//italics//italics

Bold

**bold**bold

Monospace

##monospace## → ##monospace##

Superscript

^^superscript^^ → ^^superscript^^

Subscript

,,subscript,, → ,,subscript,,

Underline

__underlined__ → __underlined__

Removal

--removal-- → --removal--

Addition

++addition++ → ++addition++

Lists

Bulleted

* Bullet list
* Second item
** Sub item

  • Bullet list
  • Second item
    • Sub item

Numbered

# Numbered list
# Second item
## Sub item

  1. Numbered list
  2. Second item
    1. Sub item

Definition Lists

; term
: definition

→ ; term : definition

Links

Wikipage

External URL

Link to URL → Link to URL

Paragraph Formatting

No Line Break

No
linebreak!

Use empty row

No linebreak!

Use empty row

Line Break

Force\\linebreak

Force
linebreak

Horizontal Line

Horizontal line:
----

Horizontal line:


No Wiki Formatting

{{{
== [[Nowiki]]:
//**don't** format//
}}}

== [[Nowiki]]:
//**don't** format//

Code

<<code>>
print("just some code here, it'll guess at the language, falling back to lua")
<</code>>

<<code ruby>>
I.love :ruby unless betrayed?
<</code>>

→ <<code>> print("just some code here, it'll guess at the language, falling back to lua") <</code>>

<<code rb>> I.love :ruby unless betrayed? <</code>>

; Supported languages : apacheconf, as, as3, basemake, bash, bat, bbcode, befunge, boo, brainfuck, c, c-objdump, cheetah, clojure, common-lisp, control, cpp, cpp-objdump, csharp, css, css+django, css+erb, css+genshitext, css+mako, css+myghty, css+php, css+smarty, d, d-objdump, delphi, diff, django, dpatch, dylan, erb, erlang, fortran, gas, genshi, genshitext, gnuplot, groff, haskell, html, html+cheetah, html+django, html+genshi, html+mako, html+myghty, html+php, html+smarty, ini, io, irc, java, js, js+cheetah, js+django, js+erb, js+genshitext, js+mako, js+myghty, js+php, js+smarty, jsp, lhs, lighty, llvm, logtalk, lua, make, mako, matlab, matlabsession, minid, moocode, mupad, myghty, mysql, nasm, nginx, numpy, objdump, objective-c, ocaml, perl, php, pot, pov, pycon, pytb, python, python3, raw, rb, rbcon, redcode, rhtml, rst, scala, scheme, smalltalk, smarty, sourceslist, splus, sql, sqlite3, squidconf, tcl, tcsh, tex, text, trac-wiki, vb.net, vim, xml, xml+cheetah, xml+django, xml+erb, xml+mako, xml+myghty, xml+php, xml+smarty, xslt, yaml

Images

Image with title

{{CurseForge:16|title}} ZOMG Kitty (Image with title)

Image

{{CurseForge:16}}

Tables

|=|=table|=header|
|a|table|row|
|b|table|row|

table header
a table row
b table row

Headings

== Large heading

Large heading

=== Medium heading

Medium heading

==== Small heading

Small heading

Youtube video

<<youtube video_code_here>>

Your video code is everything that comes after the v= in your youtube url. For example, say your url is youtube.com/watch?v= 1XNTjVScm_8. You would type the following:

<<youtube 1XNTjVScm_8>> → <<youtube 1XNTjVScm_8>>

Vimeo video

<<vimeo 4202002>> → <<vimeo 4202002>>

Font size

<<size 200%>>Hello<</size>> → <<size 200%>>Hello<</size>>

<<size 24px>>Hello<</size>> → <<size 24px>>Hello<</size>>

Font color

Please don't abuse this. Egregious use of colors may make us re-evaluate having this at all. Also, be aware of changing background colors. Green on black might look nice, but but Green on white might not.

<<color red>>It's red!<</color>> → <<color red>>It's red!<</color>>

<<color 00f>>It's blue!<</color>> → <<color 00f>>It's blue!<</color>>

<<color 00ff00>>It's green!<</color>> → <<color 00ff00>>It's green!<</color>>

<<color #ffff00>>It's yellow!<</color>> → <<color #ffff00>>It's yellow!<</color>>

Quotes

<<quote>>Hello there<</quote>> → <<quote>>Hello there<</quote>>

<<quote Some random guy>>How was **your** day?<</quote>> → <<quote Some random guy>>How was your day?<</quote>>

Pastes

<<paste 528>> → <<paste 528>>

Emotes

Note: Since unexpected emotes can mess up lines of code, all emotes must have whitespace surrounding them to turn into a graphical version.

:) :( :D :O ;) O:) 8) :* :| :'( <3 → :) :( :D :O ;) O:) 8) :* :| :'( <3

Positioning

<<left>>This shows on the left<</left>> → <<left>>This shows on the left<</left>>

<<center>>This shows in the center<</center>> → <<center>>This shows in the center<</center>>

<<right>>This shows on the right<</right>> → <<right>>This shows on the right<</right>>

BBCode

The following BBCode tags are supported:

; [b] : Bold ; [i] : Italic ; [s] : --strikethrough-- ; [link] : A hyper link ; [url] : a url ; [quote] : quoting ; [img] : displays an image ; [list] : opens a list ; [*] : a item in a list ; [code] : a preformatted code block ; [paste]1234[/paste] : show a paste from paste.<<sitedomain>>

Note: Our BBCode implementation is a thin wrapper around WikiCreole. The BBCode tags are converted to WikiCreole, and then that parser is used.

Safe HTML

Allows access to a restricted subset of HTML.

Valid Tags:

  • a
  • abbr
  • b
  • big
  • blockquote
  • br
  • caption
  • code
  • dd
  • del
  • dl
  • dt
  • em
  • h1
  • h2
  • h3
  • h4
  • h5
  • h6
  • hr
  • i
  • img
  • li
  • ol
  • p
  • pre
  • s
  • small
  • strike
  • strong
  • sub
  • sup
  • table
  • tbody
  • td
  • tfoot
  • th
  • thead
  • tr
  • ul

Valid attributes:

  • alt
  • colspan
  • href
  • rowspan
  • src
  • title

Note: All tags and attributes must be lowercase. Uppercase is not supported.

Markdown

Another lightweight markup language. See http://daringfireball.net/projects/markdown/ for more details.

Plain Text

Just what it sounds like. This simply escapes characters, urlizes links, replaces newlines with a br tag and wraps paragraphs with p tags.

⚠️ **GitHub.com Fallback** ⚠️