如何使用Jekyll向MarkDown添加多个类? [英] How to add multiple classes to MarkDown using Jekyll?
本文介绍了如何使用Jekyll向MarkDown添加多个类?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在Jekyll驱动的网站上生成HTML表格。
表格格式化为 table
和表格剥离
这样的类:
< table class =table table-stripped>
我如何做?
类似的问题:如何在Jekyll中使用MarkDown中的段添加多个CSS类?
解决方案我找到了以下解决方案: / p>
{:.table .table-striped}
| Port |由|提供的内容queries / second |
| ------------------------------------------ |
| 80 | Apache | 130 |
| 8080 | Varnish | 6200 |
{:.aaa .bbb}
Lorem ipsum ...
I want to produce HTML table in Jekyll driven web site.
The table is to be formatted with table
and table-stripped
classes like this:
<table class="table table-stripped">
How can I do it?
Similar problem: how to add multiple CSS classes to paragraph in MarkDown used in Jekyll?
解决方案
I have found the following solutions:
{: .table .table-striped}
|Port | Content served by | queries/second |
| ------------------------------------------|
| 80 | Apache | 130 |
| 8080 | Varnish | 6200 |
{: .aaa .bbb}
Lorem ipsum...
这篇关于如何使用Jekyll向MarkDown添加多个类?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文