tylingsoft / markdown-plus

Markdown editor with extra features.
http://mdp.tylingsoft.com/
2.12k stars 395 forks source link

Exported PDF Styling doesn't match preview #83

Closed dcrockwell closed 7 years ago

dcrockwell commented 7 years ago

Horizontal rules are invisible. Background colors for graph line text is gone.

tylerlong commented 7 years ago

Please specify OS version and app version.

dcrockwell commented 7 years ago

MacOS Sierra (10.12) Markdown Plus Version 2.2.0 (26)

tylerlong commented 7 years ago

I am unable to reproduce the issue you mentioned. Could you please help me?

image

dcrockwell commented 7 years ago

Here's a screenshot of the PDF viewed via Preview in OSX on the left side, and Markdown Plus on the right.

screen shot 2017-01-20 at 9 56 33 pm

dcrockwell commented 7 years ago

I was wrong about the text labels, they're just a much lighter color I mistook for white.

(except maybe the ones on the dotted light under participations)

dcrockwell commented 7 years ago

Here's a screenshot of the code to show that the proper --- is being used for HR.

screen shot 2017-01-20 at 10 00 16 pm

tylerlong commented 7 years ago

Not sure why the horizontal rules are invisible in your screenshot. In my screenshot, It is visible.

I think as long as we figured out the root cause for horizontal rules invisible issue, we can also fix the graph line background color issue.

But first and foremost, I need to reproduce it.

Could you please try something simpler as shown in my screenshot and post the result here?

tylerlong commented 7 years ago

I guess it has something to do with default printing settings of your OS:

image

Could you please make sure that by default your OS has this option enabled?

dcrockwell commented 7 years ago

I think it's the background graphics, but I can only enable it in other programs. When i go to File -> Print in Markdown Plus, I get a crash:

screen shot 2017-01-20 at 10 39 49 pm

If I go to the print icon at the top toolbar, I don't see a way to enable background graphics from there:

screen shot 2017-01-20 at 10 40 49 pm

tylerlong commented 7 years ago

The print dialog is system wide. You can enable it somewhere else. For example in your chrome browser print cmd - p to bring it up.

tylerlong commented 7 years ago

I am not sure how to change your system-wide printing settings. But I do know a temporary workaround for the issue:

image

image

I will try to figure our a permanent solution soon. Please use the workaround for now.

tylerlong commented 7 years ago

Fixed in latest version.

Feel free to reopen if you still have issues.