markdown-toc icon indicating copy to clipboard operation
markdown-toc copied to clipboard

Just support current md file!

Open yifengyou opened this issue 5 years ago • 2 comments

If open multiple markdown files, just one md file can use this plugin, the other will not be able to.

yifengyou avatar Jul 03 '19 02:07 yifengyou

Actually only the first MD file that invokes it will be able to use it.

fcnoronha avatar Aug 10 '19 02:08 fcnoronha

The only way I got it to work with multiple files was to close atom and reopen it, but that was to create a TOC in an empty file. To update an existing TOC, I needed to close and reopen. Call markdown toc: toggle, then undo insertion. For some reason the automatic update didn't seem to work if markdown toc: toggle wasn't called.

rbc-web avatar Sep 11 '19 01:09 rbc-web