Title: Markdown inside HTML
Last modified: July 28, 2025

---

# Markdown inside HTML

 *  Resolved [heavylogic](https://wordpress.org/support/users/heavylogic/)
 * (@heavylogic)
 * [9 months, 1 week ago](https://wordpress.org/support/topic/markdown-inside-html/)
 * Sometimes you need to split things into columns. And I know that it’s not a usual
   thing for markdown that supports only tables. But your plugin supports HTML and
   that’s great. The problem is – markdown inside HTML doesn’t render anymore. This
   will not work:
 *     ```wp-block-code
       <div style="display: flex; gap: 20px;">	<div>**Test**</div>	<div>**Test2**</div></div><div class="my-flex-class">	<div class="my-col-50-class">[![13892359063825](/wp-content/uploads/2024/12/13892359063825-150x150.png){.alignnone}](https://bricks-test.loc/wp-content/uploads/2024/12/13892359063825.png)</div>	<div class="my-col-50-class">[![13892359063825](/wp-content/uploads/2024/12/13892359063825-150x150.png){.alignnone}](https://bricks-test.loc/wp-content/uploads/2024/12/13892359063825.png)</div></div>
       ```
   
 * Also class `.alignnone` in this example doesn’t applies on images. I think this
   feature is broken.
 * Great plugin for developers though. I’m switching from Gutenberg.

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

 *  Plugin Author [Pierre-Henri Lavigne](https://wordpress.org/support/users/peter202202/)
 * (@peter202202)
 * [9 months, 1 week ago](https://wordpress.org/support/topic/markdown-inside-html/#post-18576461)
 * Hi [@heavylogic](https://wordpress.org/support/users/heavylogic/), it’s been 
   a while, how is it going ?
 * Please give me some time, I’m gonna check it when I can. My TODO is full at the
   moment 🚣
 * I appreciate the switch, if you are in a hurry, I guess you will have to keep
   Gutenberg for now or use another alternative like custom fields or custom shortcode
   maybe. 🙏
 * There was something like `<div markdown="1"> **Test** </div>` with the extra 
   version of markdown if I remembered but that doesn’t seem to work…. 💦
 * Thank you for your patience, 🙇‍♂️and keep in touch
 *  Plugin Author [Pierre-Henri Lavigne](https://wordpress.org/support/users/peter202202/)
 * (@peter202202)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/markdown-inside-html/#post-18598457)
 * [@heavylogic](https://wordpress.org/support/users/heavylogic/) for this one I
   gave up, this looks to work only with one root sub-level.
 * I mean for example :
 *     ```wp-block-code
       <div markdown="1">**Some bold text**</div>
       ```
   
 * Will be rendered as :
 *     ```wp-block-code
       <div markdown="1">Some bold text</div>
       ```
   
 * I plugged existing open source tools with the WordPress framework, I try to stick
   to the markdown “specification” and the WordPress “specification” for a native
   experience. Embedded HTML is kind of limited. HTML code inside markdown actually
   works but the reverse – wrapping markdown inside multi HTML section does not 
   seem to play well because the parser needs to be customized. Good luck with that.
   🌞
 * If you need multi-columns support, it’s gonna be easier and faster to go on your
   own like shortcodes or just split with two custom fields for example. If you 
   want professional support or help in debugging code, you are welcome to ask for
   business support here :
   [https://www.markup-markdown.com/contact/](https://www.markup-markdown.com/contact/)
 * I’m gonna mark this discussion as closed, thank you for your understanding
    -  This reply was modified 8 months, 3 weeks ago by [Pierre-Henri Lavigne](https://wordpress.org/support/users/peter202202/).

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

The topic ‘Markdown inside HTML’ 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: [8 months, 3 weeks ago](https://wordpress.org/support/topic/markdown-inside-html/#post-18598457)
 * Status: resolved