Support nested Markdown heading levels

This commit is contained in:
udo
2026-07-17 05:27:00 +00:00
parent 8dbff881a1
commit dbb8ae2c4b
5 changed files with 23 additions and 2 deletions
@@ -0,0 +1,5 @@
COMPONENT(Request& context)
{
DValue& node = context.props["node"];
<><div class="tests-heading" data-hook="heading" data-source-level="<?= std::to_string(node["level"].to_u64()) ?>"><?: context.props["default_html"].to_string() ?></div></>
}