gnab / remark

A simple, in-browser, markdown-driven slideshow tool.
http://remarkjs.com
MIT License
12.72k stars 857 forks source link

Better default table styles #359

Open jkolash opened 8 years ago

jkolash commented 8 years ago

Currently tables are unstyled and do not look nice out of the box My workaround is to do

<link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.6.0/pure-min.css">
<style>
.smaller-font { font-size:14px } 
</style>

...

.pure-table.pure-table-bordered.pure-table-striped.smaller-font[
|header1 | header 2|
|--------|---------|
| 1      | 2       |
| 3      | 4       |
]

The default github styling is decent as it has header bolding, borders and zebra stripes

header1 header 2
1 2
3 4
idlesong commented 7 years ago

+1

bkmgit commented 3 years ago

This is a nice example for creating and styling tables. Would a variety of css files be something that could be linked to in the wiki ?