question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add hooks for mdpdf header/footer in atom config

See original GitHub issue

I was thinking of adding these hooks, but what is the exact shape of the header/footer config? Without looking at the source, it appears to be something like this:

{ 
pdf: 
  header: {
    height: int
  }
}

Where do I add the content?

cc: @BlueHatbRit

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
darebrawleycommented, May 13, 2019

Hi , I wanted to follow up on this issue and to ask whether this header/footer functionality has been added? I am especially interested in being able to add page numbers in a footer and haven’t been able to find any documentation about whether this is possible with markdown-pdf. Any assistance would be greatly appreciated.

0reactions
east-windscommented, Aug 22, 2020

Thanks @neo1949 for providing the code to add a header/footer!

Currently, the header/footer is hard-coded via:

let displayHeaderFooter = true;

I was wondering how to pass this through the .md file, it looks like via options.header and options.footer. Is this in the YAML? It would be helpful to have the option to turn on and off the footer without having to edit puppeteer-helper.js.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Atom package to save header/footer html code - Stack Overflow
I am using Atom IDE, I am searching for a package where I can store my header, footer etc code and simply put...
Read more >
Untitled
Intel atom speedstep linux, Compact strider best price, Samsung s2570l! ... Manuela carmena barcelona, Fog city visor insert, Relaxers damage hair, ...
Read more >
Extension Matrix/AllExtensions - MediaWiki
Connects to a Postgres database and retrieves data with select directly into an article or to write data into the database with insert...
Read more >
Untitled
Coronado restaurants lunch, Does helium 4 have electrons, ... Epinephrine and norepinephrine effects, Mark sanchez eagles 2014, Chex mix add!
Read more >
Untitled
#oea Modellbau traktor 2013, Medion akoya e1221 atom n455, Belgaum medical ... Add 2 chord, Cutting a synthetic gun stock, Brochure design inspiration...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found