in Sources/Markdown/Parser/BlockDirectiveParser.swift [534:545]
mutating func updateIndentation(under parent: inout ParseContainer?, for line: TrimmedLine) {
switch self {
case .root:
return
case .lineRun:
var newParent: ParseContainer? = nil
parent?.updateIndentation(under: &newParent, for: line)
case .blockDirective(var pendingBlockDirective, let children):
pendingBlockDirective.updateIndentation(for: line)
self = .blockDirective(pendingBlockDirective, children)
}
}