2017-06-29 17:23:27 -04:00
|
|
|
{%- if doc.selector %}
|
2018-09-19 09:28:23 -04:00
|
|
|
<section class="selector-list">
|
2017-04-24 13:49:37 -04:00
|
|
|
<h2>Selectors</h2>
|
2018-09-19 09:28:23 -04:00
|
|
|
{% if doc.selectors %}
|
|
|
|
{$ doc.selectors | marked $}
|
|
|
|
{% else %}
|
|
|
|
<ul>
|
|
|
|
{%- for selector in doc.selectorArray %}
|
2018-09-21 09:07:51 -04:00
|
|
|
<li><code>{$ selector | replace(r/(:not\([^()]+\))/g, '<i>$1</i>') $}</code></li>
|
2018-09-19 09:28:23 -04:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
2017-05-02 10:08:49 -04:00
|
|
|
</section>
|
2017-01-27 09:51:41 -05:00
|
|
|
{% endif %}
|