禅スニペットがあるとします。
div#container>(div.panel>h2{this is the header inside panel $})*3
次のように評価されます。
<div id="container">
<div class="panel">
<h2>this is the header inside panel 1</h2>
</div>
<div class="panel">
<h2>this is the header inside panel 1</h2>
</div>
<div class="panel">
<h2>this is the header inside panel 1</h2>
</div>
</div>
乗算された要素のインデックスをその子に渡すことを評価させる方法はありますか?
ありがとう。