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: indented codeblock is not rendered correctly #123

Open
sushichan044 opened this issue Apr 22, 2022 · 1 comment
Open

bug: indented codeblock is not rendered correctly #123

sushichan044 opened this issue Apr 22, 2022 · 1 comment
Labels

Comments

@sushichan044
Copy link

sushichan044 commented Apr 22, 2022

Context:

  • version (md-to-pdf -v):5.1.0
  • platform (Unix, macOS, Windows): Ubuntu 20.04 on WSL2
  • node version: v16.14.2

When I convert md to pdf,
As shown in the image, All indented code block is not rendered correctly and the inside is transparent.
Regardless of which CSS I use.
But inline codes are displayed correctly.

image
image

@sushichan044 sushichan044 changed the title bug: bug: indented codeblock is not rendered correctly Apr 22, 2022
@simonhaenisch
Copy link
Owner

simonhaenisch commented Apr 23, 2022

thanks for the report. until i have time to look into it, you can used fenced code blocks instead of indented ones as a workaround.

```
code here
```

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

2 participants