Include-csv

展示 csv 文件。

npm install gitbook-plugin-include-csv

插件地址 https://www.npmjs.com/package/gitbook-plugin-include-csv

{
    "plugins": ["include-csv"]
}

使用示例1:

{% includeCsv  src="./demo.csv", useHeader="true" %}
{% endincludeCsv %}

使用示例2:

{% includeCsv %}
hoge,fuga
a,0001
b,002
{% endincludeCsv %}

效果如下所示:

hoge fuga
a 0001
b 002
当前版本内容更新不及时,完整版请切换至 Gitbook 教程

results matching ""

    No results matching ""