Skip to content

Comments

Added flag --title-from-filename to always use the filename as the page title #115

Open
devzeb wants to merge 3 commits intoiamjackg:developfrom
devzeb:feature-title-from-filename
Open

Added flag --title-from-filename to always use the filename as the page title #115
devzeb wants to merge 3 commits intoiamjackg:developfrom
devzeb:feature-title-from-filename

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