spren9er / gfm-pdf

Atom package for converting GFM (GitHub Flavored Markdown) documents to PDF using wkhtmltopdf
http://atom.io/packages/gfm-pdf
MIT License
6 stars 4 forks source link

Soft Wrap on large text in code block #10

Open themakunga opened 7 years ago

themakunga commented 7 years ago

Hi!

I have a problem when I tried to print to pdf files with codes, specially when docs form some changes to files.

when I use for example

<?php
  echo "Lorem Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem Ipsum, Lorem Ipsum, ";
?>

In the editor they showme OK the Sowft Wrap, but in the print is something like this

image

I need the soft wrap to make reports and docs on pdf