TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Write HTML Faster with Sparkup (Vim and Textmate)

29 点作者 anveo大约 15 年前

7 条评论

derwiki大约 15 年前
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 未加载
jsiarto大约 15 年前
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 未加载
marshally大约 15 年前
or you could just use HAML (or NHaml, GHRML, etc.)
bphogan大约 15 年前
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.
Dylanfm大约 15 年前
"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.
stinkytaco大约 15 年前
How is this better than markdown? Or should I say, how is this different than markdown?
评论 #1168603 未加载
lambdom大约 15 年前
I think it misses a &#60;ul&#62; in the example.