Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Custom PDF style not being used #35

Closed
peterschussheim opened this issue Sep 21, 2017 · 4 comments
Closed

[BUG] Custom PDF style not being used #35

peterschussheim opened this issue Sep 21, 2017 · 4 comments
Labels
Milestone

Comments

@peterschussheim
Copy link

Hi,

I am trying to use a custom stylesheet but it does not work as expected. I've saved the CSS into ~.vscode-insiders/markdown-pdf.css and added "markdown-pdf.styles": [".vscode-insiders/markdown-pdf.css"] to my settings. Am I doing something wrong?

Thanks
Peter

@yzane yzane added this to the 1.0.3 milestone Apr 28, 2018
@yzane yzane added the bug label Apr 28, 2018
yzane added a commit that referenced this issue Apr 30, 2018
yzane added a commit that referenced this issue Apr 30, 2018
@yzane
Copy link
Owner

yzane commented Apr 30, 2018

Please upgrade to Markdown PDF ver1.0.3 and try it.

@yzane yzane closed this as completed Apr 30, 2018
@1danielcoelho
Copy link

1danielcoelho commented May 1, 2018

Still doesn't seem to work, even on 1.0.3. Even if the files are local.

If anybody else needs this immediately, you can just replace on C:\Users\<you>\.vscode\extensions\yzane.markdown-pdf-1.0.3\styles\markdown-pdf.css with your own style

@yzane yzane reopened this May 1, 2018
@yzane
Copy link
Owner

yzane commented May 1, 2018

@1danielcoelho
If you save the css file in ~/.vscode-insiders/markdown-pdf.css, please set as follows.

"markdown-pdf.styles": [
  "~/.vscode-insiders/markdown-pdf.css"
]

@yzane
Copy link
Owner

yzane commented May 1, 2018

@peterschussheim
Excuse me. I was misunderstanding the problem.

.markdown-body does not apply.
body is applied.

@yzane yzane closed this as completed May 1, 2018
tat3 pushed a commit to tat3/vscode-markdown-pdf-2 that referenced this issue Sep 4, 2022
tat3 pushed a commit to tat3/vscode-markdown-pdf-2 that referenced this issue Sep 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants