Table of contents for MMark?

It seems that as of hugo 0.53, posts generated from mmark files or pdc files(pandoc file type) are still not showing table of contents. Any solutions or hints?