# getting backgrounds into PDF?

#### Morgan

16 Jul, 2017 12:54 AM

I am trying to produce documents with styles that have backgrounds, such as Lopash which has a simple paper-colored background.

Whether I export to MS Word, PDF, or Print->PDF, all backgrounds are removed.

I searched for discussions on this, and saw one from 2015 where you said you'd forced it all white, then later fixed it.

However, I seem to be getting the original "all white" behavior.

Since I have gone mostly paperless, I strongly prefer to have the colored backgrounds in my PDF's.

Can this be done simply? Am I missing a toggle switch somewhere?

Thanks

1. Support Staff Posted by Brett on 22 Jul, 2017 05:14 PM

Hi Morgan,

You can force background colors with CSS as long as "Print background
colors and images" is enabled in Export preferences, but it's really not
very useful. Page margins will always be white, and if you set all
margins to zero you have to manually add padding to the document or the
text hits the edges. Even then, the headers and footers, even when
empty, will cause a white top/bottom border on the page, so it ends up
uglier than just printing white. Thus, the option is not really
supported.

-Brett

2. Posted by Morgan on 25 Jul, 2017 01:57 AM

Hi Brett,

Thanks for the response, though that is a bit disappointing.

I hope you will at some point step back and ask your users how/why they use Marked2.

In my case, I use it as an auxiliary to other markdown processors such as Ulysses, DevonThink, and Draftin. The reason I invested in Marked2 on top of those others is so that I could create better-looking layouts with more flexibility and control.

Given that's the reason for the investment, having such a major feature as WSYIWYG from page to PDF be "unsupported" and not really working, makes the only reason for me to use Marked boil down to support for tables (which Ulysses doesn't).

Kind of a bummer. I hope you will reconsider at some point.

Morgan

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

### »

#### Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

# Keyboard shortcuts

### Generic

? Show this help Blurs the current field

### Comment Form

r Focus the comment reply box Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

## Recent Discussions

 21 Feb, 2020 11:32 PM Option to use MathJax 3? 20 Feb, 2020 03:12 PM Regular crashes 13 Feb, 2020 09:22 PM Markdown Formatting 11 Feb, 2020 11:53 AM Custom themes not working 10 Feb, 2020 06:48 PM KaTex Preview Update

## Recent Articles

 Using JavaScript in Marked Custom CSS: Writing custom CSS for Marked License code has already been utilized Highlight sentences longer than a certain number of words How do I retrieve a lost license (direct version)