Table not render when use Redcarpet in Jekyll GitHub Pages?

后端 未结 3 1338
长发绾君心
长发绾君心 2021-01-30 17:05

As of maruku engine (the default), writing table like

surround text, etc.

| Tables        | Are           | Cool  |
| ------------- |:-------------         


        
3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-30 17:31

    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.

    markdown: redcarpet
    redcarpet:
      extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "tables", "strikethrough", "superscript", "with_toc_data"]
    

提交回复
热议问题