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

Allow costume formatting of date in headers #74

Closed
idosu opened this issue Apr 23, 2018 · 2 comments
Closed

Allow costume formatting of date in headers #74

idosu opened this issue Apr 23, 2018 · 2 comments

Comments

@idosu
Copy link

idosu commented Apr 23, 2018

The current dating format in the header/footer is 'm/d/yyyy', I want to use this format dd/mm/yyyy.

An example for a way to set this:

"markdown-pdf.headerTemplate": "<span class='date' data-format='dd/mm/yyyy'></span>"
@mgollmer
Copy link

Yeah, would be great! I need this option, too.

@idosu
Copy link
Author

idosu commented Apr 26, 2018

Its seems like chrome print is used to print the pdf, the date is set by chrome according to the user prefs.

I would have said to move the header and footer from chrome to the generated HTML but You can't know here to put it for each page

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

2 participants