Skip to content

Exported PDF doesn't match markdown-preview's style #71

@dolan-a

Description

@dolan-a

I'm currently using the default Atom style (dark gray background, light gray text). My markdown-preview settings have the "use github style" enabled, and when I preview my markdown file, the view has a white background, black text, etc. Unfortunately, the exported PDF using markdown-pdf has the dark gray background.

Additionally, I tried modifying ~/.atom/styles.less to have the following CSS (while disabling markdown-preview's "use github style"):

.markdown-preview {
  font-size: 12px;
  background-color: white;
  color: black;
}

With this, markdown-preview shows this new style, but exporting still shows my default dark-gray-background style.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions