fix(core): render Markdown heading ids so Outline links scroll (#4173) (#4765)