Closed weituotian closed 7 years ago
We have 'Ordered or unordered style for TOC elements' feature, but header number is not our defensive range. sorry.
@naokazuterada maybe you can add the header number, and default false to users
Hmmm sorry. 🦊 I think rewriting header is too much. This plugin supports just only insert TOC.
@naokazuterada oh, is that hard to modify the headers with number? i am sorry about can not find a plugin to do that.
Modifying the headers is possible technically, but it doesn't much plugin's ideal. I want this plugin to be simple and low dependency (portable) for users.
@naokazuterada does sublime text3 provide the api to replace the headers?
Yes!
@naokazuterada i am confused about what does the folder bs4 do in the code
Oh sorry... I'm not sure but maybe you can remove it. I think I added it for a new feature but it's not implemented yet... 🤕
@naokazuterada may you write some code for me? i feel hard to modify the code, sadly.
I think this method may help you. https://github.com/naokazuterada/MarkdownTOC/blob/master/MarkdownTOC.py#L219-L236
finally i understand what link anchor means.
<a name="changelog"></a>
# Changelog
Lorem ipsum...
<a name="glossary"></a>
# Glossary
Lorem ipsum...
<a name="api-specification"></a>
# API Specification
Lorem ipsum...
@naokazuterada why there is a need to add an anchor ?
@naokazuterada why you frequently use reversed, what does it want to do?
@naokazuterada
you should add this repo in your readme.
this plugin fully compitiable with markdown toc.
it is a option to let people to choose what they want to do!
@weituotian Sorry for late reply. I will take a look at your plugin and think about your suggestion. Anyway thank your for informing me!
like the project markdown-number-md-header
it is a important function optional to users!!!