FAQ

[Forum] Formatting sample code on forum

Date : 2016-11-13
Category : About Site

You can format your code in your post for forum. We recommend you to use this feature, because some of the characters in code are recognized as real code of the webpage.

 

To format your code, start your code block with [code] and end it with [/code].

EXAMPLE

Dear LG,

 

This is the code I wrote. The cheatkey() is not called properly.

Can you tell me what I've done wrong?

 

[code]

<script>
function cheatkey() {
    console.log('show me the money');
}
cheatkey();
</script>

<p class="content">Lemmings is the greatest PC game in the world.</p>

[/code]

 

Thanks!