Game Development Community

MarkupLite Test

by Steven Peterson · in Site Feedback · 02/14/2009 (9:20 pm) · 3 replies

GG MarkupLite Test

This is a simple MarkupLite Test-Suite showing what does and does-not work through trial & error examples. If you know of any other tags that work, add them in the comments.

Based on these preliminary tests it appears the MarkupLite cheat-sheet IS a complete document.
(more test-samples to come)
-----

Formatting:

Bold: {b}{/b}
Italic: {i}{/i}
Strong: {strong}{/strong}
Emphasis: {em}{/em}

Lorem ipsum dolor sit amet
Lorem ipsum dolor sit amet
[strong]Lorem ipsum dolor sit amet[/strong]
[em]Lorem ipsum dolor sit amet[/em]
-----

Tiny: {tiny}{/tiny}
Small: {small}{/small}
Big: {big}{/big}
Huge: {huge}{/huge}

[tiny]Lorem ipsum dolor sit amet[/tiny]
Lorem ipsum dolor sit amet
[big]Lorem ipsum dolor sit amet[/big]
[huge]Lorem ipsum dolor sit amet[/huge]

[color=red]Lorem ipsum dolor sit amet[/color]
-----

Header Tags:

Header 1: {h1}{/h1}
Header 2: {h2}{/h2}
Header 3: {h3}{/h3}
Header 4: {h4}{/h4}
Header 5: {h5}{/h5}
Header 6: {h6}{/h6}

Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet

[h4]Lorem ipsum dolor sit amet[/h4]
[h5]Lorem ipsum dolor sit amet[/h5]
[h6]Lorem ipsum dolor sit amet[/h6]
-----

Dividers:

Horizontal Rule:
1st: {hr}
2nd: {hr /}
[hr]
[hr /]
-----

Inset Boxes:

Quote Box: {quote} ... {/quote}
Quote:Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Code Box: {code} ... {/code}
int main() {
    if (true) {
       cout << endl << "Hello Worldn";
    }
    else {
       cout << endl << "Goodbyen";
    }

    int j=1;
    for (i=10; i > 0; i--) {
        j*=i;
    }

    cout << endl << "10! (ten factorial) is equal to: " << j;
return 0;
}

Code Box - C++ Highlighting: {cpp} ... {/cpp}
[cpp]
int main() {
cout << "C++ Tags Not Implemented";
return 0;
}
[/cpp]

Code Box - Torque-Script Highlighting: {ts} ... {/ts}
[ts]
function main() {
echo("Torque-Script Tags Not Implemented");
return;
}
[/ts]

Code Box - PHP Highlighting: {php} ... {/php}
[php]
function main() {
echo("PHP Tags Not Implemented");
return;
}
[/php]

#1
02/15/2009 (5:47 pm)
[list][*]list 1[/list]

  • list 2[/li]

  • list 3
  • list 3[/li]

    [size=18]font size 18[/size]

    [u]underline[/u]

    [color=#3333FF]color[/color]

    -------------
    Edit:

  • list test 4
  • list test 4
  • list test 4

  • ------------
    Edit 2: gotcha! Finally understood the lists! just need the "li" at the begining of the line.

    ----------
    Edit 3:


    Quote:The [li ] tag only works inside a [ul ] or [ol ] tag now. This prevents invalid html from being generated, which caused some display issues in some browsers.

    • correct (inside ul)
    • correct (inside ul)

  • incorrect (outside ul)
  • incorrect (outside ul)

  • ---------------

    Edit 4:

    [ code = xml ]

    <ble>
       <fdnldkfsv/>
    </ble>

    ---------------

    Edit 5:

    [size=9]bla blah[/size]
    bla blah

    Header 1

    Header 2

    Header 3

    #2
    05/26/2009 (7:29 pm)
    Damit. Sorry for the bump.
    #3
    05/26/2009 (8:00 pm)
    Don't be sorry... now I know how lists work!