textile - 如何将类添加到定义列表中?

我正在使用RedCloth将一些纺织文本转换为html。 一种特殊情况似乎特别适合使用定义列表。 使用RedCloth,定义列表具有此语法(源):
- coffee := Hot and black
- tea := Also hot, but a little less black
- milk :=
Nourishing beverage for baby cows.

Cold drink that goes great with cookies. =:
我想将“饮料”类添加到该列表中(以便生成的代码看起来像
<dl class="beverages">...
)。我试过这个:
(beverages)- coffee := Hot and black
...
我也尝试过:
-(beverage) coffee := Hot and black
-(beverage) tea := Also hot, but a little less black
...
这是你在纺织品中设置其他列表(
ul
s和
ol
s)的样式,但它不适用于
dl
s。该文字呈现为字面段落(
<p>-(beverage) coffee := Hot and black</p>
) 是否存在将类添加到纺织品中的定义列表的语法,或者我必须使用原始html吗?     
已邀请:
旧的: - - 语法不允许添加类/ ID,但以下内容将起作用:
;(defclass#defid) Lorem
: Lorem ipsum dolor sit amet
会产生
<dl class="defclass" id="defid">
    <dt>Lorem</dt>
    <dd>Lorem ipsum dolor sit amet</dd>
</dl>
    
目前无法将类或ID分配给纺织品上的定义列表。 我在这里为此创建了一个问题: http://jgarber.lighthouseapp.com/projects/13054/tickets/208-classes-or-ids-cant-be-specified-in-definition-lists     

要回复问题请先登录注册