Jade
Haml
Jade | Haml | |
---|---|---|
38 | 25 | |
21,528 | 3,749 | |
0.2% | 0.1% | |
0.0 | 7.3 | |
2 months ago | 22 days ago | |
JavaScript | Ruby | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Jade
-
Building Vue Components With Pug & Stylus
If you have a bit of Nodejs SSR background, you would already be accustomed to templating libraries like Pug, Handlebars, EJS, etc. If you’re from a PHP background you would be familiar with the Blade templating engine. These templating libraries basically help you render dynamic data from the backend on the frontend. They also help you generate markup with loops based on conditions.
-
Just Normal Web Things
The right way to start is with HTML and motherfucking web site.
https://motherfuckingwebsite.com/
Really. At this point this is what web sites should strive to be.
Pug is a great way to write HTML by hand. I integrated it with GitHub Pages so pug sources get compiled to HTML and published when commits are pushed. Great experience.
https://pugjs.org/
https://github.com/pugjs/pug
- Should I use pugjs with nextjs
-
Migrate Your Express Application to Fastify
To illustrate the process of migrating from Express to Fastify, we have prepared a demo application. This application utilizes Express, Mongoose, and Pug to create a URL Shortener app as follows:
-
Simplify Form Development with Smarkform!
Disclaimer: The markup of CodePen examples is still in Pug. However, you can view it compiled as HTML by opening the code tab menu and selecting "View compiled HTML" (But, by the way, if you are not already familiar with Pug Templates, I strongly advise you to check them out).
-
What happened to pug.js?
I've been using Pug.js (https://github.com/pugjs/pug) for quite a few projects in the past but when I went to look at it yesterday it looks like it's no longer in active development. Lots of open issues and no response where someone asks what happened.
-
NeoVim + Django + Pug
Hi folks I'm wondering if someone of you is a Django developer who also use pug for templates? Anyone?
-
Pugs eye popped out
I'm sorry about your doggie, but you have the wrong subreddit. The Pug template engine https://pugjs.org/ is discussed here exclusively. Dogs are not discussed here.
-
Helix + Pug/Jade
The pug support for my projects is the last step for final migration from VSCode to Helix - any suggestions as to what existing language can be used as a basis for adaptation?
- I taught the chat bot an alternative syntax for HTML, called HBML, basically just braces instead of tags... we are so screwed
Haml
-
XRB alternatives - Haml, Slim, and Hamlit
4 projects | 30 Apr 2024
-
Building a syntax highlighting extension for VS Code
First of all, I like Slim. I like the beauty and cleanness of Slim templates, to me they are way more readable than regular ERB templates and I think they fit in the ruby/Rails ecosystem very well. Slim is a close cousin to Haml, without the ugly percent characters, haha. I've used Slim exclusively in my projects since about 2016.
-
Hamlet: A type-safe Haml template engine for Go
> I can't say what problem it is supposed to solve
"Haml accelerates and simplifies template creation" https://haml.info/
If you'd rather write raw HTML, keeping track of closing tags etc, then don't use HAML. No need to bash it because you personally feel it is ugly or unnecessary. FWIW I personally feel the exact opposite.
-
Any web frameworks that could compare to Symfony?
Personally, I'd recommend Maud if you don't need something with runtime reloading. Not only is it much faster, it implements a template language that is effectively the Rust-syntax equivalent to Slim or Haml using a procedural macro, so you get compile-time verification that your HTML output is well-formed.
-
Rux: A JSX-inspired way to render view components in Ruby
Does this support HAML-style syntax? We're 100% HAML-only for templating, whether normal Rails views or ViewComponent... https://github.com/haml/haml https://haml.info/ so going back to writing HTML or ERB feels like a huge downgrade.
-
Anyone from a Typescript/React background who tried out Rust for the 1st time?
For templating, Maud is fast, gives compile-time well-formedness guarantees, and outputs minified HTML by default as a side-effect of it being based on Rust macros. (It's of a similar design philosophy to Slim and Haml)
-
Why must closing tags in HTML and XML contain the name of the tag being closed, if the tag being closed can be determined by the order they were opened?
You don’t even need closing tags. Both Haml and Jade do away with closing tags altogether.
-
Goddamn this tastes like eternal suffering.
That looks awfully like HAML.
-
I taught the chat bot an alternative syntax for HTML, called HBML, basically just braces instead of tags... we are so screwed
Your HBML is similar to HAML - is it time for HCML? https://haml.info/
-
Guess what kind of project i am building currently
it's an HTML preprocessor called HAML
What are some alternatives?
EJS - Embedded JavaScript templates -- http://ejs.co
Slim - Slim is a template language whose goal is to reduce the syntax to the essential parts without becoming cryptic.
handlebars.js - Minimal templating on steroids.
Liquid - Liquid markup language. Safe, customer facing template language for flexible web apps.
nunjucks - A powerful templating engine with inheritance, asynchronous control, and more (jinja2 inspired)
Hamlit - High Performance Haml Implementation
marko - A declarative, HTML-based language that makes building web apps fun
Sanitize - Ruby HTML and CSS sanitizer.
Next.js - The React Framework
Mustache - Logic-less Ruby templates.
express-react-views - This is an Express view engine which renders React components on server. It renders static markup and *does not* support mounting those views on the client.
Arbre - An Object Oriented DOM Tree in Ruby