I just created a pull request for adding "resolve() won't return Promise instance".
I am chinese, so I have written the Chinese translation, too.
After I ran npm run toc ./README-zh-cn.md, I found that doctoc has changed the whole index. Because the previous version directly using Chinese charactors in the index, but doctoc prefer url-encoded.
For more clear git commit record, I restored other indexe lines.
Please check out this to compare 81st line and other lines of index.
I just created a pull request for adding "resolve() won't return Promise instance". I am chinese, so I have written the Chinese translation, too. After I ran
npm run toc ./README-zh-cn.md
, I found that doctoc has changed the whole index. Because the previous version directly using Chinese charactors in the index, but doctoc prefer url-encoded.For more clear git commit record, I restored other indexe lines.
Please check out this to compare 81st line and other lines of index.