Title: Problems with inserting code
Last modified: December 21, 2024

---

# Problems with inserting code

 *  Resolved [heavylogic](https://wordpress.org/support/users/heavylogic/)
 * (@heavylogic)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/problems-with-inserting-code/)
 * Try to insert this in a code block:
 *     ```wp-block-code
       123
       <div class="test"></div>
       321
       <?php
       echo 'testing';
       ?>
       ```
   
 * Div will render as HTML. PHP will be commented out.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Pierre-Henri Lavigne](https://wordpress.org/support/users/peter202202/)
 * (@peter202202)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/problems-with-inserting-code/#post-18213959)
 * [@heavylogic](https://wordpress.org/support/users/heavylogic/) Indeed, thank 
   you for reporting the issue. 🤲
 * The latest version 3.12.0 I’ve just released a few hours ago should fixed the
   problem. 💪
   For better syntax highlighting please refer for now to the previous
   post:[https://wordpress.org/support/topic/codemirror-not-working/](https://wordpress.org/support/topic/codemirror-not-working/)
 * Kind regards,
    -  This reply was modified 1 year, 5 months ago by [Pierre-Henri Lavigne](https://wordpress.org/support/users/peter202202/).
      Reason: Link broken
 *  Plugin Author [Pierre-Henri Lavigne](https://wordpress.org/support/users/peter202202/)
 * (@peter202202)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/problems-with-inserting-code/#post-18283231)
 * I haven’t heard from you for a while [@heavylogic](https://wordpress.org/support/users/heavylogic/)
   so I’m gonna mark this ticket as solved.
   Feel free to open a new one if need 
   be. Kind regards,

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Problems with inserting code’ is closed to new replies.

 * ![](https://ps.w.org/markup-markdown/assets/icon.svg?rev=2691249)
 * [Markup Markdown](https://wordpress.org/plugins/markup-markdown/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/markup-markdown/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/markup-markdown/)
 * [Active Topics](https://wordpress.org/support/plugin/markup-markdown/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/markup-markdown/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/markup-markdown/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Pierre-Henri Lavigne](https://wordpress.org/support/users/peter202202/)
 * Last activity: [1 year, 4 months ago](https://wordpress.org/support/topic/problems-with-inserting-code/#post-18283231)
 * Status: resolved