# Render markdown inside html blocks

**URL:** <https://forum.obsidian.md/t/render-markdown-inside-html-blocks/19870>\
**Category:** Feature requests\
**Created:** [June 20, 2021, 4:09pm UTC](https://forum.obsidian.md/t/render-markdown-inside-html-blocks/19870 "2021-06-20T16:09:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alejandro](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/a/ee7513/32.png) [@Alejandro](https://forum.obsidian.md/u/Alejandro)\
**Post date:** [June 20, 2021, 4:09pm UTC](https://forum.obsidian.md/t/render-markdown-inside-html-blocks/19870/1 "2021-06-20T16:09:35Z")

</div>

I’ve recently wanted to make a few columns in some of my markdown pages. I got some kind of a wiki which gathers a lot of notes of related subjects.

I’ve encountered an issue when applying my columns with html and a little css. The html is processed but the markdown inside it won’t render.

I think is a necessary feature because is kind of weird to have a large thin list of items in a normal/large monitor. I am also open to a workaround with pure markdown.

---

<div class="post-metadata">

**Author:** ![FiekeB](https://forum.obsidian.md/user_avatar/forum.obsidian.md/fiekeb/32/15042_2.png) [@FiekeB](https://forum.obsidian.md/u/FiekeB)\
**Post date:** [June 20, 2021, 7:22pm UTC](https://forum.obsidian.md/t/render-markdown-inside-html-blocks/19870/2 "2021-06-20T19:22:26Z")

</div>

Hi @Alejandro - I recently wanted to create a real looking food label with tables and didn’t know how. I searched the forum and found this: [Custom CSS for tables - 5 New styles, ready to use in your notes](https://forum.obsidian.md/t/custom-css-for-tables-5-new-styles-ready-to-use-in-your-notes/17084) by @DeaconLight

If you look through his CSS you will find many selectors for markdown tables that you can address with CSS. Or just use one of his 5 fantastic styles!

Markdown tables themselves are no more than

 ![Schermafbeelding 2021-06-20 om 21.27.22](https://forum.obsidian.md/uploads/default/original/3X/f/4/f4e63176217e69b0fdd74b37632d8d3326d382dc.png)

You cannot do nested tables, but with some smart thinking you can achieve a lot!

I do advice you to install the Advanced Tables plugin , it will help you a lot.

This is my simple markdown table “code”

 ![Schermafbeelding 2021-06-20 om 21.31.31](https://forum.obsidian.md/uploads/default/original/3X/3/1/313d811157321535a81ce72a618da8041ef0ee8f.png)

and with CSS that looks like this

 ![Schermafbeelding 2021-06-20 om 21.31.49](https://forum.obsidian.md/uploads/default/original/3X/8/a/8a2db4543f1850bcc938e5751e461819e2b0a524.png)

PS Obsidian _is_ a markdown editor/viewer, not html. You can use html inside your note, but using markdown tables is not a workaround, but rather the way to go 🙂

---

<div class="post-metadata">

**Author:** ![Spencer](https://forum.obsidian.md/user_avatar/forum.obsidian.md/spencer/32/53042_2.png) [@Spencer](https://forum.obsidian.md/u/Spencer)\
**Post date:** [September 5, 2023, 1:56pm UTC](https://forum.obsidian.md/t/render-markdown-inside-html-blocks/19870/3 "2023-09-05T13:56:22Z")

</div>

I also would fine this useful sometimes. In [kramdown](https://kramdown.gettalong.org/syntax.html#html-blocks) it is supported through the use of a special `markdown="1"` property. I agree that html use is a bit of a hack, so I prefer to get back to markdown as quickly as possible for inner content.

---

<div class="post-metadata">

**Author:** ![bestv5](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/b/f9ae1b/32.png) [@bestv5](https://forum.obsidian.md/u/bestv5)\
**Post date:** [October 26, 2023, 3:51am UTC](https://forum.obsidian.md/t/render-markdown-inside-html-blocks/19870/4 "2023-10-26T03:51:27Z")

</div>

### Related feature requests (optional)

Support for multiple styles，such as \<sub\> \*\* XXX \*\* \</sub\>.

---

<div class="post-metadata">

**Author:** ![Jany](https://forum.obsidian.md/user_avatar/forum.obsidian.md/jany/32/49531_2.png) [@Jany](https://forum.obsidian.md/u/Jany)\
**Post date:** [September 9, 2026, 2:43pm UTC](https://forum.obsidian.md/t/render-markdown-inside-html-blocks/19870/6 "2026-09-09T14:43:03Z")

</div>

I made something like what you ask using Claude if this still is relevant for you [GitHub - JanPastorek/obsidian-plugin-collapsible-details: Plugin to render markdown inside html in obsidian · GitHub](https://github.com/JanPastorek/obsidian-plugin-collapsible-details)
