yes, currently the [[toc]] tag works for published notes (rendering the TOC where the tag was inserted).
[[toc]]