8000 Footers/headers require inline font-size declaration in px in order to display · Issue #160 · elliotblackburn/mdpdf · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Footers/headers require inline font-size declaration in px in order to display #160
Open
@hxlnt

Description

@hxlnt

I am not able to see a footer.html get injected into the PDF or debug HTML, either via CLI or the Node API.

For example:
mdpdf topic.md --style=print.css --footer=footer.html --debug --f-height=40px
does not throw any errors and creates a PDF and HTML page, using the CSS provided, but without any footer tags or content in the debug HTML or PDF. (I'm not sure if it's supposed to appear in the debug HTML or if it's injected in the PDF stage.)

Debugging steps I've tried:

  1. Changing footer to header (also doesn't work)
  2. Path to footer.html is confirmed correct (CLI will fail if path is wrong)

footer.html content:
<footer><div style="font-size: 1rem;">TEST</div></footer>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0