Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/eclipse/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jekyll产生的输出与直接使用kramdown不同_Jekyll_Kramdown - Fatal编程技术网

Jekyll产生的输出与直接使用kramdown不同

Jekyll产生的输出与直接使用kramdown不同,jekyll,kramdown,Jekyll,Kramdown,我想使用jekyll创建一个HTML文档,其中包含项目的编号列表;i、 e.在HTML中。有些项目包含一个表。列表在表格之后停止,但前提是我使用杰基尔,而不是直接使用克拉姆敦 我正在运行jekyll 2.2.0版和kramdown 1.4.1版 为了重现这一点,我使用jekyllnewthat创建了一个新站点。然后,我创建一个名为this.md的新降价文档: --- layout: page title: This permalink: /this/ --- 1. first |tab

我想使用jekyll创建一个HTML文档,其中包含项目的编号列表;i、 e.
在HTML中。有些项目包含一个表。列表在表格之后停止,但前提是我使用杰基尔,而不是直接使用克拉姆敦

我正在运行jekyll 2.2.0版和kramdown 1.4.1版

为了重现这一点,我使用
jekyllnewthat
创建了一个新站点。然后,我创建一个名为
this.md
的新降价文档:

---
layout: page
title: This
permalink: /this/
---

1. first

   |table|table|
   |-----|-----|
   |conte|nt   |

1. second
1. third
然后运行
jekyllservice

这将为
http://localhost:4000/this/
(仅引用相关部分):

也就是说,我想要一个包含多个项目的
列表,而不是每个表后面的新列表

杰基尔有什么不同?如何解决这个问题?

如中所示,多行列表很棘手,您需要查看列表和表格的缩进:

1. first (0 space indentation) NOT WORKING

   |table|  - 3 spaces indent|
   |-----|-----|
   |conte|nt   |

2. second (0 space indentation) NOT WORKING

    |table|  - 4 spaces indent|
    |-----|-----|
    |conte|nt   |

 3. third (1 space indentation) NOT WORKING

   |table|  - 3 spaces indent|
   |-----|-----|
   |conte|nt   |

 4. fourth (1 space indentation) **WORKS GOOOOOD !!**

    |table|  - 4 spaces indent|
    |-----|-----|
    |conte|nt   |


 5. fifth - tip of the day - add a class to table

    {:.table}
    |table|  - 4 spaces indent|
    |-----|-----|
    |conte|nt   |
<ol>
  <li>
    <p>first</p>

    <table>
      <thead>
        <tr>
          <th>table</th>
          <th>table</th>
        </tr>
      </thead>
      <tbody>
        <tr>
          <td>conte</td>
          <td>nt</td>
        </tr>
      </tbody>
    </table>
  </li>
  <li>second</li>
  <li>third</li>
</ol>
1. first (0 space indentation) NOT WORKING

   |table|  - 3 spaces indent|
   |-----|-----|
   |conte|nt   |

2. second (0 space indentation) NOT WORKING

    |table|  - 4 spaces indent|
    |-----|-----|
    |conte|nt   |

 3. third (1 space indentation) NOT WORKING

   |table|  - 3 spaces indent|
   |-----|-----|
   |conte|nt   |

 4. fourth (1 space indentation) **WORKS GOOOOOD !!**

    |table|  - 4 spaces indent|
    |-----|-----|
    |conte|nt   |


 5. fifth - tip of the day - add a class to table

    {:.table}
    |table|  - 4 spaces indent|
    |-----|-----|
    |conte|nt   |