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

[Feature Request] Set title attribute in html #382

Open
SomervilleTom opened this issue Sep 12, 2024 · 0 comments
Open

[Feature Request] Set title attribute in html #382

SomervilleTom opened this issue Sep 12, 2024 · 0 comments

Comments

@SomervilleTom
Copy link

Add a directive or setting that allows markdown-pdf to set the title attribute of a generated file to be an arbitrary string.

If the filename of the source file is 'index.md', the current behavior is to generate an html file with the following title attribute:

<title>index.md</title>

This means that after each change to the source file, the resulting .html file must be edited by hand to change the title attribute.

If the desired title is "Some Interesting Page", make it possible for the generated file to emit the following title attribute:

<title>Some Interesting Page</title>
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

No branches or pull requests

1 participant