meff34 / docsify-to-pdf-converter

A tool for building pdf based on your docsify project
89 stars 28 forks source link

Embedded markdown results in a blank page. #3

Open tiagogala opened 5 years ago

tiagogala commented 5 years ago

I use the Embed features so I can have a consistent footer (https://docsify.js.org/#/embed-files?id=embedded-file-type) across all my pages that can be changed without much effort (this footer includes {docsify-updated} directive and a list of links that can be called from all pages (emails, and other stuff).

When I generate the PDF and my pages have this footer embedded, the resulting PDF is a single blank page. When I remove the footers, the PDF is generated correctly.

meff34 commented 5 years ago

Hi! Thank you for my first real-life issue!

I didn't use Embed features, so I can't fully understand the concern. Can you provide some example repository for reproducing?

tiagogala commented 5 years ago

Hi! Thank you for my first real-life issue!

I'm glad I can help!

Can you provide some example repository for reproducing?

I've created a quick minimal repository to illustrate the issue: https://gitlab.com/tgala/bug_example-docsify-to-pdf

As it is right now, it can correctly generate the PDF. If you edit the meetings.md file uncomment (HTML) the following line: [footer](_footer.md ':include') it generates a blank PDF.

meff34 commented 5 years ago

Ok, thank you. I'll check it as soon as possible and try to fix it.

leoliaolei commented 3 years ago

Any update on this?