Fixes an error that would occur when the first header is not at the highest level.
Previously, when the first header is not at the highest level (as in the markdown below), there would be too many closing </div> tags. This pr simply uses the appropriate number of <div> tags for each header based on its level.
Fixes an error that would occur when the first header is not at the highest level.
Previously, when the first header is not at the highest level (as in the markdown below), there would be too many closing
</div>
tags. This pr simply uses the appropriate number of<div>
tags for each header based on its level.