Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added option to parse markdown files and extract their titles #183

Conversation

trousev
Copy link
Contributor

@trousev trousev commented Nov 2, 2022

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

@1337cookie
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants