Markdown: clean up list processing code
Markdown: use single "string map" instead of multiple regsub -all