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.

Ask HN: Is there already a language that compiles to HTML/CSS?

7 pointsby blacksoilover 6 years ago
Just like Typescript&#x2F;Coffescript to Javascript, I&#x27;m wondering if there a more &quot;friendly&quot; languages that compiles to HTML&#x2F;CSS?<p>I feel like a lot of time I just need to build simple responsive website and I really hated it when I have to fight hard to get the styling work correctly. As someone not focusing on frontend development, it felt super counter-productive.<p>Since HTML&#x2F;CSS won&#x27;t go away anytime soon, I&#x27;m wondering if someone should&#x2F;already invented a more modern and user-friendly language atop HTML&#x2F;CSS?

7 comments

new_guyover 6 years ago
&gt;I&#x27;m wondering if someone should&#x2F;already invented a more modern and user-friendly language atop HTML&#x2F;CSS<p>Just buckle down and learn it. You&#x27;re honestly not going to find anything much more basic than those two.
评论 #18894927 未加载
DATACOMMANDERover 6 years ago
There are frameworks like bootstrap for CSS, and templating engines like Jinja for HTML.
blacksoilover 6 years ago
I remembered coming across Hugo (<a href="https:&#x2F;&#x2F;gohugo.io" rel="nofollow">https:&#x2F;&#x2F;gohugo.io</a>), after playing around with it, I think this is what I&#x27;m looking for! :) Isn&#x27;t exactly the answer of what I described as the question, but Hugo seems to fit my needs.<p>I just need to use other people&#x27;s Hugo theme or have a front-end guy creates and designs HTML once, convert it into Hugo template, and focus on creating content instead of fiddling around with HTML&#x2F;CSS!
lastofusover 6 years ago
HAML for HTML is still around.<p>SASS is nice for CSS.<p>ClojureScript + Reagent&#x2F;Re-frame is amazing though! (See Hiccup syntax)
snacktasterover 6 years ago
Markdown probably
tech_dreamerover 6 years ago
elm-lang
k0t0n0over 6 years ago
clojure