rstacruz/sparkup

Sparkup with Javascript

xavierartot opened this issue · 5 comments

Hi,
I'm using React, how can I use it with .jsx and js?

Thanks

Unfortunately sparkup doesn't support jsx :\

Is there any other tool that would do the trick ?

@hilkins , I've just found this plugin: https://github.com/mattn/emmet-vim

It works with Javascript, but in jsx syntaxe I would like to replace class by className?

"sparkup
augroup sparkup_types
  " Remove ALL autocommands of the current group.
  autocmd!
  " Add sparkup to new filetypes
  autocmd FileType mustache,php,javascript,jsx runtime! ftplugin/html/sparkup.vim
augroup END

I can do that many words...
h4[className=tagline]
EDIT: I switched to Emmet...