vitepress
                                
                                 vitepress copied to clipboard
                                
                                    vitepress copied to clipboard
                            
                            
                            
                        feat: add print style
close #593 #612
@kecrily Thanks a lot! Do you know why it doesn't show code block background color? I get this PDF wen printed.
Markdown Extensions _ VitePress.pdf
If this is somekind of printing limitation for saving inks I'm fine but wanted to check in.
It did not meet expectations and I didn't make changes to this. Is it working properly in print preview? What browser are you using again?
I use Chrome, and this is the pdf I get.
Also in this file I found some components whose styles I did not take into account, such as the collapsed box and the code block that overflows the page. I need to tweak them a bit and check that the background color of this code block is not showing.
I'm using Chrome too. Strange 🤔 Well it's still readable so not a big deal though.
Also in this file I found some components whose styles I did not take into account, such as the collapsed box and the code block that overflows the page. I need to tweak them a bit and check that the background color of this code block is not showing.
OK gotcha. I'll check once again once this changes arive 👍
Do you know why it doesn't show code block background color?
You probably have "background graphics" disabled in print settings:

Closing due to it's becoming obsolete.