Wiki Help

Revision Difference

Tests/Markdown#519224

<cat>test</cat> <note>Go into editor to see the markdown in all its glory!</note> # Headings # H1 ## H2 ### H3 #### H4 ##### H5 <p> # Horizontal Line ___ ## Formatting **Bold text** __Bold text__ *Italic text* _Italic text_ ## Lists > `>` >> `>>` >>> `>>>` + `+` - `-` * `*` 1. 1 2. 2 3. 3 1. 1 1. 1 ~ 57. 57 1. 1 ## Code `Inline code` ```markdown **Markdown** ``` ```lua local function Lua(arg, ...) return true end ``` ```html <html> <head> </head> <body> <div class="a" style="padding-top: 1px;"> Text </div> </body> </html> ``` ```csharp using System; public class Program { public static void Main() { Console.WriteLine("Hello World"); } } ``` ⤶ ```js⤶ // find elements⤶ var banner = $("#banner-message")⤶ var button = $("button")⤶ ⤶ // handle click and add class⤶ button.on("click", function(){⤶ banner.addClass("alt")⤶ })⤶ ```⤶ ⤶ ```cpp⤶ //⤶ // 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 [Link](https://wiki.facepunch.com/wiki/) [Link with tooltip](https://wiki.facepunch.com/wiki/ "title text!") [Link on the same domain](/wiki/About_This_Wiki) ## Images `![]()` ![Wiki](https://files.facepunch.com/garry/b0f790c0-e19e-42a3-9a90-cbd09dc8989d.png) `<image src=""/>` <image src="https://files.facepunch.com/garry/b0f790c0-e19e-42a3-9a90-cbd09dc8989d.png"/>