How to add multiple classes to MarkDown using Jeky

2019-04-06 04:07发布

问题:

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?

回答1:

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...