Is there a reason why $list doesn't support header / footer?

This will allow creation of tables using wiki text instead of html tags or any other case where it’s important not to have a break before the header / footer (e.g. creating text that is enclosed in ```)