docsify-cli icon indicating copy to clipboard operation
docsify-cli copied to clipboard

Added option to parse markdown files and extract their titles

Open trousev opened this issue 2 years ago • 1 comments

Now generator is using markdown filenames to guess menu title.

This PR introduces an option to use title in markdown file instead.

USAGE:

docsify generate ../docs --markdown-titles

it will parse every markdown file during generating sidebar and extract title. If there is no titles, filename (the old way) will be used as fallback

trousev avatar Nov 02 '22 20:11 trousev

This works well on Win10 and Ubuntu, the merge conflicts with master are trivial. Is there anything else holding this back?

1337cookie avatar Jul 28 '23 13:07 1337cookie