Better HN
topnewbestaskshowjobs
Log inSign up

camertron

3 karma · joined Sep 7, 2012 (14y ago) · 5 submissions

Submissions

comment 3y ago · link · parent

You might want to take a look at Phlex, which essentially has the same syntax: https://github.com/joeldrapper/phlex

comment 3y ago · link · parent

Yeah that's right, I was trying to simulate JSX syntax. I'm not against ERB syntax tho, maybe the lib could eventually support both?

comment 3y ago · link · parent

There's a VSCode extension for highlighting rux (Ruby + HTML): https://marketplace.visualstudio.com/items?itemName=camertro...

comment 3y ago · link · parent

No, rux doesn't support HAML, since HAML is an entirely different "language" than rux. You'd have to figure out how to identify HAML embedded in Ruby and parse it with the HAML parser. Entirely possible, but not something rux will (probably) ever do.

comment 3y ago · link · parent

We use it extensively at GitHub and consider it very stable.