Markdown
Go into editor to see the markdown in all its glory!
Headings
H1
H2
H3
H4
H5
Horizontal Line
Formatting
Bold text
Bold text
Italic text
Italic text
Lists
>
>>
>>>
+
-
*
- 1
- 2
- 3
- 1
- 1
~
- 57
- 1
Code
Inline code
**Markdown**
local function Lua(arg, ...)
return true
end
<html>
<head>
</head>
<body>
<div class="a" style="padding-top: 1px;">
Text
</div>
</body>
</html>
using System;
public class Program
{
public static void Main()
{
Console.WriteLine("Hello World");
}
}
// find elements
var banner = $("#banner-message")
var button = $("button")
// handle click and add class
button.on("click", function(){
banner.addClass("alt")
})
//
// Called when you module is opened
//
GMOD_MODULE_OPEN()
{
//
// Set Global[ "TextFunction" ] = MyExampleFunction
//
LUA->PushSpecial( SPECIAL_GLOB ); // Push global table
LUA->PushString( "TestFunction" ); // Push Name
LUA->PushCFunction( MyExampleFunction ); // Push function
LUA->SetTable( -3 ); // Set the table
return 0;
}
Tables
No Align
Header1 | Header2 |
---|---|
text | text |
text | text |
text | text |
Right Align
Header1 | Header2 |
---|---|
text | text |
text | text |
text | text |
Center Align
Header1 | Header2 |
---|---|
text | text |
text | text |
text | text |
Links
Images
![]()
<image src=""/>