Adding some code to a post


  • administrators

    This forum supports the powerful Markdown syntax.

    In particular, you can include some bits of JavaScript code using either:

    • A pair of backticks for inline code: `console.log("Hello");` produces console.log("Hello");

    • Triple backticks before and after a code block.

    ```
    // My code block
    console.log("Hi");
    ```

    // My code block
    console.log("Hi");
    

Log in to reply
 

Looks like your connection to The JavaScript Way Community was lost, please wait while we try to reconnect.