Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
camertron
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
camertron
4y ago
You might want to take a look at Phlex, which essentially has the same syntax: https://github.com/joeldrapper/phlex
2.
▲
by
camertron
4y ago
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?
3.
▲
by
camertron
4y ago
There's a VSCode extension for highlighting rux (Ruby + HTML): https://marketplace.visualstudio.com/items?itemName=camertro...
4.
▲
by
camertron
4y ago
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 somethin
5.
▲
by
camertron
4y ago
We use it extensively at GitHub and consider it very stable.