Octopress Table Stylesheet
Octopress has been very cool for the 2 weeks since I began using.
My first hiccup came when I tried using table in this post. Firstly, I have to figure out how to create table in Octopress. Yet after figuring out, the table doesn’t get displayed! It’s just not working.
1 2 3 4 5 6 7 8 9 10
However, that’s not really nice, and defeats the point of not writing in HTML.
Fortunately, you can do the same using extended markdown syntax like this:
1 2 3
But that still does not work. You will not see the table borders..
I would say that’s a bug with Octopress.
As I inspect the generated HTML, the table tags are present, and correct.
They are not showing because of the css stylesheet.
border-width of ZERO! This post in chinese provides a solution. Translated, it means:
Step 1. Add data-table.css
Add data-table.css to
Step 2. Add link header
source/_includes/head.html insert this:
And now the table appears!
PS: I am puzzled why Octopress does not ship with a default table stylesheet.