As of maruku
engine (the default), writing table like
surround text, etc.
| Tables | Are | Cool |
| ------------- |:-------------:| -----:|
| col 3 is | right-aligned | $1600 |
| col 2 is | centered | $12 |
| zebra stripes | are neat | $1 |
surround text...
would render correctly.
But when I switch to redcarpet
(add markdown: redcarpet
into _config.yml
), the table no longer rendered, both localhost and on GitHub Pages.
Did I do something wrong?
For this question, it seems the important extension here is "tables".
However if you want more Github flavored markdown, there are a few more listed at http://sholsinger.com/2014/03/jekyll-github-flavored-markdown.
Combining with neizod's answer I ended up using.
Adding only
markdown: redcarpet
into_config.yml
is not enough, It's also need theextensions
part, e.g.The 'redcarpet' markdown engine is no longer supported by GitHub Pages and may cease working at any time. you can get some information from github help ,maybe you can find a solution in this issue.