HappenApps / Quiver

Quiver documentation and issue tracker
2.26k stars 109 forks source link

export content do not have the style I have changed by setting theme config #1122

Closed xieyonn closed 6 years ago

xieyonn commented 6 years ago

I use code theme github this is default preview image I add some css for inline code and code block my setting

"css": {
    "className": "github",
    "editor": ".github .ace-github { background-color: #f6f8fa; padding: 16px; } .github code { padding: 0.2em 0.4em; }",
    "preview": ".github .ace-github { background-color: #f6f8fa; padding: 16px; } .github code { padding: 0.2em 0.4em; }",
    "presentation": ".github .ace-github { background-color: #f6f8fa; padding: 16px; } .github code { padding: 0.2em 0.4em; }"
  }

after change image

when export as html or pdf It do not change image

ylian commented 6 years ago

Indeed you can't set export styles in the theme file at the moment. Although if you just want this for your own use, you could add the css changes to "Preferences > Styles > Export, PDF".

xieyonn commented 6 years ago

I did what you said, It works, thanks!