fxbois / web-mode

web template editing mode for emacs
https://web-mode.org
GNU General Public License v3.0
1.63k stars 262 forks source link

Support for Surface #1194

Closed ohmree closed 3 years ago

ohmree commented 3 years ago

Surface is a markup language for writing Phoenix Liveview components, kind of like Vue or Svelte but with embedded Elixir expressions instead of JS.

The language uses the .sface file extension and the main syntactic additions to regular HTML are:

wkirschbaum commented 3 years ago

@ohmree how much difference is .sface from .heex? would it be good enough to get .heex to work and then use it for surface?

ohmree commented 3 years ago

@ohmree how much difference is .sface from .heex? would it be good enough to get .heex to work and then use it for surface?

I'm not sure actually, I've since moved on to another project so it's been a while since I've used phoenix. You might have better luck asking the surface authors.

wkirschbaum commented 3 years ago

Maybe it is worth closing this for now then as there seems to be no interest?

fxbois commented 3 years ago

@wkirschbaum I think so .... if there are a lot of Surface users perhaps I'll look at it

cserb commented 3 years ago

@ohmree how much difference is .sface from .heex? would it be good enough to get .heex to work and then use it for surface?

Is there work being done on .heex? Phoenix is going to deprecate .leex at some point.