Atom Syntax highlight for Riot.js .tag
components.
- Via Atom Editor: search for
riot-tag
- Console:
apm install language-riot-tag
- For Emmet compatibility, add the following to your
keymap.cson
file.
'atom-text-editor[data-grammar="text html riot"]:not([mini])':
'tab': 'emmet:expand-abbreviation-with-tab'
- You've got to put your JS / es6 / coffee scripts inside
<script></script>
tag to get syntax highlights. CoffeeScript
,Sass
,Scss
,Less
andStylus
highlights should work fine. You need to specify your language on thetype
attribute. e.g.(<style type="stylus">)
Jade
is not supported.- Pull requests are always welcome!
- Thanks to @yyx990803 as I've used his Sublime Text Vue Syntax highlights repo as a template to setup this repo.