Skip to main content
MindTouch Success Center

Add code blocks

In MindTouch, users can add code blocks through the Styles drop-down menu in the editor. Adding code blocks to pages allows users to add JavaScript, CSS and DekiScript directly to their content via the editor.

How to add code blocks

  1. Place the cursor on the page where you want to add code.
  2. Click the Formatting styles menu in the editor toolbar.
  3. Choose one of the three code blocks, depending on your coding needs: DekiScriptJavaScript (JEM) and CSS.  

  1. Add any amount of code blocks to suit your needs. The code blocks are labeled by type.

  1. Enter your code into the blocks to customize your content.
     

What's next?

Learn how to enhance your pages with Dekiscript.

  • Was this article helpful?