# MathJax Not Rendering Inside \<details\> Without Newline After \<summary\>

**URL:** <https://meta.discourse.org/t/mathjax-not-rendering-inside-details-without-newline-after-summary/375414>\
**Category:** Product Support\
**Tags:** math\
**Created:** [July 23, 2025, 11:11am UTC](https://meta.discourse.org/t/mathjax-not-rendering-inside-details-without-newline-after-summary/375414 "2025-07-23T11:11:05Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)\
**Post date:** [July 23, 2025, 11:38pm UTC](https://meta.discourse.org/t/mathjax-not-rendering-inside-details-without-newline-after-summary/375414/4 "2025-07-23T23:38:37Z")

</div>

Yeah this is not a bug, its a limitation/design of CommonMark

Mixing HTML and Markdown has some very specific and somewhat surprising rules.

---

_[View the full topic](https://meta.discourse.org/t/mathjax-not-rendering-inside-details-without-newline-after-summary/375414)._
