Support nested Markdown heading levels
This commit is contained in:
@@ -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></>
|
||||
}
|
||||
Reference in New Issue
Block a user