Vscode-markdown: Add table of contents "slugify mode" option for Bitbucket

Created on 17 Dec 2020  ·  3Comments  ·  Source: yzhang-gh/vscode-markdown

Proposal

The setting markdown.extension.toc.slugifyMode includes table of contents formatting options for Github, Azure, Gitlab and a few others, but not Bitbucket.

Bitbucket links are almost identical to Github links, but are simply prefixed with markdown-header-

i.e. they are formatted like so:
#markdown-header-1-introduction

Alternatively, just the ability to specify a custom prefix to ToC slugs would solve the issue.

Of course, the ability to specify our own custom format would be amazing, and would solve all cases!

Thanks

table of contents Duplicate

Most helpful comment

Thanks. It will be shipped with the next release, and I'm sure it won't take a month 😅.

All 3 comments

I guess you are talking about Bitbucket Cloud? Please check out the dev build. (duplicate of #861)

Yes please to this! I have to manually prepend the "markdown-header-" tag each time before being able to commit changes to the readme at work. Any chance this can be a feature in the production build (i.e. as an option in the slugify settings dropdown)?

Thanks. It will be shipped with the next release, and I'm sure it won't take a month 😅.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rdhar picture rdhar  ·  4Comments

PierreMarchand20 picture PierreMarchand20  ·  3Comments

chuyangliu picture chuyangliu  ·  5Comments

lengyingzi picture lengyingzi  ·  5Comments

smallprogram picture smallprogram  ·  3Comments