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

Conversion of markdown files with images #8

Open
yoavram opened this issue Feb 9, 2013 · 1 comment
Open

Conversion of markdown files with images #8

yoavram opened this issue Feb 9, 2013 · 1 comment

Comments

@yoavram
Copy link

yoavram commented Feb 9, 2013

First of all, I love Docverter. It is a great service.
Now for the bug report:
This simple markdown file:

# Random title

![](http://i.imgur.com/DOwiteW.jpg)

and some random text...

will produce a 500 error when converting to epub, and a cropped image when converting to pdf.

That being said, pandoc fails on both conversions with error codes 1 and 43.

@Taiiwo
Copy link

Taiiwo commented Dec 12, 2014

Try adding

<style>
    img{
        width: 100%;
    }
</style>

This will fix image cropping in PDFs
EDIT: Actually I use this trick for markdown -(showdown)-> HTML -(docverter)-> PDF, but it might still work.

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