hedyorg / hedy

Hedy is a gradual programming language to teach children programming. Gradual languages use different language levels, where each level adds new concepts and syntactic complexity. At the end of the Hedy level sequence, kids master a subset of syntactically valid Python.
https://www.hedy.org
European Union Public License 1.2
1.3k stars 285 forks source link

🪲 Highlighter is not being set properly on Explore Public Adventures #5506

Open jpelay opened 4 months ago

jpelay commented 4 months ago

Describe the bug

While testing #5485 we found out that after using the filter to change the selected level in the Public Adventures, the highlighter of the code examples is not being set properly. This might be due to initializeHighlightedCodeBlocks being called before the HTML content is settled after the HTMX call.