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

Add support for Bitbucket style header IDs

Open bravoecho opened this issue 7 years ago • 3 comments
trafficstars

bravoecho avatar Sep 04 '18 07:09 bravoecho

Thx for your PR!

Have you found the source code which BitBucket used to generate toc ids? Without that, it's hard to judge the rule you wrote is right or not.

Besides, I noticed that all Chinese Characters in headers are gone in BitBucket generated toc ids, that's different from GFM.

mzlogin avatar Sep 04 '18 09:09 mzlogin

Thx for your PR!

Have you found the source code which BitBucket used to generate toc ids? Without that, it's hard to judge the rule you wrote is right or not.

Besides, I noticed that all Chinese Characters in headers are gone in BitBucket generated toc ids, that's different from GFM.

In the link (https://bitbucket.org/tutorials/markdowndemo/src/master/README.md) have a example to link markdown style from Bitbucket

vanildosouto avatar Sep 18 '18 13:09 vanildosouto

@vanildosouto yes, but sadly it has not mentioned the rules to generate toc ids.

mzlogin avatar Sep 18 '18 14:09 mzlogin