Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Html formatting in forum

AnatolyAnatoly Mod
edited December 2015 in General Posts: 894

You can use html tags:

 < pre lang = " lua " > 

And then close it with the diagonal line:

 < / pre > 

But remove the spaces between the sysmbols
the attribute


will make this marking:

function S(key) print("Key:" .. key) end
function test()
S("test key")
-- Test for comment

Here are html tags: (remove the space)

 < b > bolden text < / b > 

Will do: bolden text

 < i > italic < / i >

Will do: italic

 < u > underline < / u > 

Will do: underline

 < a href = " " > A link < / a > 

Will do: A link

More tags {only they're type and explain}:

s - Marks the text as line in middle (ex.: content deleted...)
h1 - Very big text

Content deleted

Very big text

You can also use p - tags.
About br example: (I WROTE THIS TEXT IN ONE LINE:)

I wrote this text in one line.

Create an < b r > tag between every of the word (don't close with < / b r > )


Script code: (testing)

<b>Cool</b> <i>text</i> <s>with</s> <font color="blue">colored</font><br>text, <font color="orange">and ...</font>

Cool text with colored
text, and ...

More scripts:

<b> I <br> wrote <br> this text <br> in one line </b>

this text
in one line

The text formatting (size) is possible from h1 to h6

Any text in h1

Any text in h2

Any text in h3

Any text in h4

Any text in h5
Any text in h6
<img src=""></img>


strong is something like importend text < strong > < / strong > ... Will make ... importend

Hope this was helful

Of course there is an problem, that here is used markdown:

Your code
**bold**, *italic*, _italic_

More tags aren't shown here...

Importend: Don't leave lines between the messages! It will make different paragraphs:

Any paragraph is going here
and the line breaks

Another paragraph

More paragraphs with bolden and much other texted like italic and underlined text, but actually the code is place here. So this paragraph is a little longer


  • AnatolyAnatoly Mod
    edited December 2015 Posts: 894

    Did you learned enough?

  • edited December 2015 Posts: 87

    Thank you for telling me how to add html to Lua. The first language I learnt was html. Also that now means you can add java script with the <script>and</script>command.

  • AnatolyAnatoly Mod
    edited December 2015 Posts: 894

    This html is not in the Lua codes, thats for the forum

    EDIT: I learned all Html and the Firefox's html tags

  • AnatolyAnatoly Mod
    Posts: 894

    @magicskillz, in the Lua strings to make new lines use \n codes to make different size - eh.. - impossible...

  • AnatolyAnatoly Mod
    edited December 2015 Posts: 894
    Table test
    for forum

    Edit: Html in this forum seem to be ruined the simple border=1 attribute isn't working

  • Posts: 2,020

    The forum is designed so that posts can be formatted with markdown, you do not need to use html tags.

This discussion has been closed.