Closed MaoShizhong closed 3 months ago
@KevinMulhern can you take a look at this please mate
Thanks for letting us know @MaoShizhong. This looks to be related to https://github.com/TheOdinProject/theodinproject/pull/4479. I'll get a fix put together.
Checks
Bug: brief description of bug
format, e.g.Bug: Lesson complete button does not update on click
Bug description
Collapsibles are handled in our lesson md files via
While these render completely fine on the main website, the same markdown does not render as a collapsible in the markdown preview tool. The result does not render a
<details>
parent, and the<summary class="dropDown-header">TITLE</summary>
is rendered as a plain text node" TITLE "
instead.An example can be found with the Foundations "Setting up Git" lesson.
How to reproduce
Step 1: Install Git
,Linux
is a plain text node and its contents laid out in full, as opposed to being a collapsible<details>
element. The same applies to the followingMacOS
andChromeOS
sections.Expected behavior
Linux
underneathStep 1: Install Git
should be rendered as a<summary>
within a collapsed<details>
element that can be toggled open/closed. The same should apply for the followingMacOS
andChromeOS
sections.What browsers are you seeing the problem on?
Firefox, Chrome
What OS are you using?
No response
Discord Name
No response
Additional Comments
No response