PDF export makes table headers grey

Once you’ve done the above, delete everything above this line.

Steps to reproduce

export PDF with table in document

Expected result

header lines same colour as body lines

Actual result

header lines are in light grey

Environment

  • Operating system: Windows 10
  • Debug info:
    SYSTEM INFO:
    Obsidian version: v1.1.9
    Installer version: v1.0.0
    Operating system: Windows 10 Pro 10.0.19045
    Login status: not logged in
    Insider build toggle: off
    Live preview: on
    Legacy editor: off
    Base theme: dark
    Community theme: none
    Snippets enabled: 0
    Restricted mode: off
    Plugins installed: 1
    Plugins enabled: 1
    1: Open with v0.3.1

Additional information

grey header in table

3 Likes

I can reproduce with dark mode, but it looks good in light mode. Not ideal, but you can switch to light mode to export for now (if that looks good for you).

left: dark mode | right: light mode

macOS 12.6.2, Sandbox

SYSTEM INFO:
	Obsidian version: v1.1.9
	Installer version: v1.1.9
	Operating system: Darwin Kernel Version 21.6.0: Sun Nov  6 23:31:13 PST 2022; root:xnu-8020.240.14~1/RELEASE_ARM64_T6000 21.6.0
	Login status: logged in
	Catalyst license: insider
	Insider build toggle: on
	Live preview: on
	Legacy editor: off
	Base theme: dark
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on

RECOMMENDATIONS:
	none
3 Likes

Is there a way to correct this behavior using a css snippet?

edit: give this a try (works in Sandbox using dark theme):

@media print {
  .markdown-rendered th {
    color: #000;
  }
} 

2 Likes

thanks

will be fixed v.1.2. No ETAs.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.