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

no border for table in Markdown #117

Closed
wbo4958 opened this issue May 15, 2017 · 2 comments
Closed

no border for table in Markdown #117

wbo4958 opened this issue May 15, 2017 · 2 comments
Labels

Comments

@wbo4958
Copy link

wbo4958 commented May 15, 2017

Hi,

# cat example.md
aa|bb|cc
--|--|--
ee|ff|gg 

# markdown-pdf example.md

The rendered table has no borders.

image

@anko
Copy link
Collaborator

anko commented May 16, 2017

The default CSS has no borders. You can change that by passing a file to --css-path though:

$ cat example.md
aa|bb|cc
--|--|--
ee|ff|gg
$ cat custom.css
td, th {
    border: 1px solid grey
}
$ markdown-pdf --css-path='custom.css' example.md

shot

@anko anko closed this as completed May 16, 2017
@anko anko added the question label May 16, 2017
@wbo4958
Copy link
Author

wbo4958 commented May 17, 2017

Thx very much. worked.

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