transmission line noise

home

sparkup, a parser for con­densed markup

01 Nov 2010

Tagged with Work

This is really neat and expands css like code to fully hydrated code at the stroke of a cou­ple of but­tons. If you are using tex­mate then ^e (i am on a mac remem­ber) wil turn this

ul.feature-list > li*5 > h2 + p + a.button{Learn More}
into 

<pre><code><ul class="feature-list">
    <li>
        <h2></h2>
        <p></p>
        <a href="" class="button">Learn More</a>
    </li>
    <li>
        <h2></h2>
        <p></p>
        <a href="" class="button">Learn More</a>
    </li>
    <li>
        <h2></h2>
        <p></p>
        <a href="" class="button">Learn More</a>
    </li>
    <li>
        <h2></h2>
        <p></p>
        <a href="" class="button">Learn More</a>
    </li>
    <li>
        <h2></h2>
        <p></p>
        <a href="" class="button">Learn More</a>
    </li>
</ul>


comments powered by Disqus