TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Write HTML Faster with Sparkup (Vim and Textmate)

29 pointsby anveoabout 15 years ago

7 comments

derwikiabout 15 years ago
I like this, opposed to other solutions to HTML's verbosity, in that this is like a Vim macro language. Quick to type, then expanded to full formed HTML. No need for any other compilation or intermediate processing to HTML.
评论 #1168193 未加载
jsiartoabout 15 years ago
You can also get similar results with some of the Zen Coding plugins for Textmate: <a href="http://code.google.com/p/zen-coding/" rel="nofollow">http://code.google.com/p/zen-coding/</a>
评论 #1168244 未加载
评论 #1168155 未加载
marshallyabout 15 years ago
or you could just use HAML (or NHaml, GHRML, etc.)
bphoganabout 15 years ago
While this is very cool for producing HTML, I still like HAML and StaticMatic better because it's reproducible. The Zen Coding plugin and this both look like they are just shortcuts, whereas HAML sticks around and gets expanded when I compile.<p>#sidebar.grid_4 =&#62; &#60;div id="sidebar" class="grid_4&#62;&#60;/div&#62;<p>And I don't lose that. I have no problem writing HTML with the shortcuts I already have - it's maintaining what's there that's the real pain, at least for me.
Dylanfmabout 15 years ago
"If you are a fan of HAML but forced to use standard HTML in your projects this plug-in might make you a bit happier."<p>Sounds great to me.
stinkytacoabout 15 years ago
How is this better than markdown? Or should I say, how is this different than markdown?
评论 #1168603 未加载
lambdomabout 15 years ago
I think it misses a &#60;ul&#62; in the example.