====== Webcode - Not displaying code block ====== ===== About ===== This is possible to cache code block with this syntax: // cached The ''display="none"'' syntax comes from the [[https://www.dokuwiki.org/syntax_highlighting|advanced syntax]] ===== Example ===== ==== Note ==== * The cached code blocked in the example below is written with this syntax. console.log("A log from the cached block"); ==== The example ==== * We should not see the cached code block (Only the bullet point of the list) console.log("A log from the cached block."); * We should see the code block below console.log("A log from the visible block"); * In the result, we should see two log line (one from the cached block and one from the visible one)