Multimarkdown 4.2

Based on the pull request #20308, I recreated the changes and updated to 4.2 at the same time.