Knowledge Base / Markup Types
r15
There are currently four different markup options on CurseForge. Each one is different and will be covered in more detail below.
WikiCreole
WikiCreole attempts to be a universal wiki markup language to be used across different wiki software. It is far more standardized and sane than many other wiki formats, especially MediaWiki and Curse Wiki. We hope for it to be an adequate successor to Curse Wiki on curseforge and wowace.
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
→
- Numbered list
- Second item
- Sub item
Definition Lists
; term : definition
→
- term
- definition
Links
Wikipage
Link to [[wikipage]]→ Link to wikipageOther Project: [[addon-loader:Main|AddonLoader]]→ Other Project: AddonLoaderOther Project with game: [[WoW/addon-loader:Main]]→ Other Project with game: WoW/addon-loader:MainKnowledge base: [[kb:WikiCreole]]→ Knowledge base: [[kb:WikiCreole]]Announcement: [[announcements:Thingy]]→ Announcement: [[announcements:Thingy]]
External URL
Link to [[URL|linkname]] → Link to linkname
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>>
→
print("just some code here, it'll guess at the language, falling back to lua")
I.love :ruby unless betrayed?
- 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}} →
(Image with title)
Image
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 1XNTjVScm_8>>
→
Vimeo video
<<vimeo 4202002>>
→
Font size
<<size 200%>>Hello<</size>>
→
Hello
<<size 24px>>Hello<</size>>
→
Hello
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>>
→
It's red!
<<color 00f>>It's blue!<</color>>
→
It's blue!
<<color 00ff00>>It's green!<</color>>
→
It's green!
<<color #ffff00>>It's yellow!<</color>>
→
It's yellow!
Quotes
<<quote>>Hello there<</quote>>
→
Quote:Hello there
<<quote Some random guy>>How was **your** day?<</quote>>
→
Quote from Some random guy:How was your day?
Pastes
<<paste 528>>
→
1 2 3 4 5 | print("This is a test paste") if true then return "Isn't it awesome?" end |
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>>
→
This shows on the left
<<center>>This shows in the center<</center>>
→
This shows in the center
<<right>>This shows on the right<</right>>
→
This shows on the right
BBCode
The following BBCode tags are supported:
- [b]
- Bold
- [i]
- Italic
- [u]
- Underline
- [s]
strikethrough- [link]
- A hyper link
- [url]
- a url
- [quote]
- quoting
- [img]
- displays an image
- [wiki]
- Displays a wikipedia search link.
- [google]
- Displays a google search link.
- [dict] or [dictionary]
- looks up a word via dictionary.com
- [list]
- opens a list
- [*]
- a item in a list
- [code]
- a preformatted code block
- [size=13]
- font size
- [color=red]
- font color
- [paste]1234[/paste]
- show a paste from paste.SkyrimForge.com
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
This allows you to use a subset of html in your postings.
Valid Tags:
- a
- p
- b
- br
- hr
- strong
- u
- em
- i
- img
- div
- span
- center
- table
- td
- tr
- thead
- tfoot
- tbody
- caption
- colgroup
- rowgroup
- ol
- ul
- li
- h2
- h3
- h4
- h5
- h6
You may use the following attributes:
- name
- title
- width
- height
- href
- src
Textile
A lightweight markup language. See http://en.wikipedia.org/wiki/Textile_(markup_language) for more details.
Markdown
Another lightweight markup language. See http://en.wikipedia.org/wiki/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.
Facts
- Date created
- Apr 10, 2011