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 flag --title-from-filename to always use the filename as the page title #115

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

devzeb
Copy link

@devzeb devzeb commented Oct 22, 2023

I am currently adopting md2cf in my ci workflows.
The workflow I am mainly going to use is uploading multiple files inside of a folder recursively.

I found that the current way of determining the page title produces inconsistent results, as some of my markdown files have a top-level header and some do not.
To make this more consistent, I would like to always use the filename as the page title.

Therefore I propose to add a new option to the md2cf command, which allows to explicitly tell the application to always use the filename as the page title, regardless of the file content.

@devzeb devzeb changed the base branch from master to develop October 23, 2023 16:42
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.

1 participant