[toc] available in markdown

TL DR:

OP wants

  1. to keep focus when switching from preview to editor on mobile.
    Let me link it to the main topic about mobile improvements: Mobile app functionality improvements

  2. to keep contents of [[toc]] in markdown editor

Here's some non-official behaviour you can use as a workaround for this:

  • insert [[toc]] into markdown editor
  • switch to rich text editor
  • change one of the headings (for example add a space to one of them)
  • done, now you you have contents of [[toc]] in markdown editor with links to headings