Doesn't find if the fence is on the first line but not first column
lilydjwg opened this issue · 3 comments
lilydjwg commented
Doesn't find if the fence is on the first line but not first column
mzlogin commented
Not really understand. In my environment, toc fence on the first line can work fine.
like this:
<!-- vim-markdown-toc GFM -->
* [你好世界](#你好世界)
* [hello](#hello)
* [world](#world)
* [???](#)
<!-- vim-markdown-toc -->
## 你好世界
## hello
## world
## ???
do you mean heading in the first line not contained in the generated toc?
if not, can you give a example for issue?
lilydjwg commented
Oh, it only fails when the cursor isn't on the first column. Then it'll be simple to fix.
mzlogin commented
Yes, that would be a bug when set nostartofline
, thx!