reStructuredText: move internal target into header content when placed
just before the header to better align with the output of the reference
parser
reStructuredText: handle distinction between "simple" and other list
formats in similar ways like the reference parser