With this tool [doctoc](https://github.com/thlorenz/doctoc) I can easily generate `Table of Contents` (indexes) into README.md (Markdown)
It runs fine in Github.
But when I applied the same, bitbucket server can't understand it. There is no action after I clicked the links in table of content.
Does bitbucket server support markdown indexes?
are you using
--bitbucket
?
Thanks, @Boris Berenberg - Atlas Authority
I tried with option "--bitbucket", generated different Markdown README, but no action to click the links in bitbucket server. Seems this option is only for bitbucket cloud.
```
Available modes are:
--bitbucket bitbucket.org
```
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So looks like it's not core yet: https://jira.atlassian.com/browse/BSERV-4532
But there are workarounds: https://community.atlassian.com/t5/Bitbucket-questions/Markdown-internal-links-support-in-Bitbucket-Server/qaq-p/595033
My guess is you would need to create a PR for doctoc to support this hack.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.