ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Svelte

by corneliusio ST3

💡Sublime Text syntax highlighting for Svelte 3 components

Details

Installs

  • Total 7K
  • Win 2K
  • Mac 3K
  • Linux 2K
Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13
Windows 0 3 2 6 1 0 3 1 4 3 8 3 3 4 3 2 1 5 2 4 1 6 1 4 3 1 2 0 2 1 7 4 3 4 5 6 3 4 11 3 2 4 3 6 2 4
Mac 0 3 5 4 6 2 4 1 5 3 3 3 5 4 0 3 1 3 1 4 7 0 2 4 4 4 5 7 2 3 4 2 2 4 2 6 3 3 3 6 2 2 9 4 4 4
Linux 0 1 4 6 5 3 1 4 2 3 2 7 2 6 6 1 1 1 0 1 3 3 1 1 4 3 0 5 4 4 2 2 3 1 1 5 3 1 0 0 2 6 1 6 4 0

Readme

Source
raw.​githubusercontent.​com

Svelte Syntax Highlighting

Sublime Text Syntax highlighting for Svelte 3 components.

Install

  • Via Package Control: search for Svelte.
  • Manual: clone this repo into your Sublime Packages folder.

Supported Scripts

TypeScript
<script type="text/typescript"></script>

<script lang="typescript"></script>

or

<script type="text/ts"></script>

<script lang="ts"></script>
CoffeeScript
<script type="text/coffeescript"></script>

<script lang="coffeescript"></script>
LiveScript
<script type="text/livescript"></script>

<script lang="livescript"></script>
Babel
<script type="text/babel"></script>

<script lang="babel"></script>

Supported Styles

Sass
<style type="text/sass"></style>

<style lang="sass"></style>
Sass (SCSS)
<style type="text/scss"></style>

<style lang="scss"></style>
Less
<style type="text/less"></style>

<style lang="less"></style>
Stylus
<style type="text/stylus"></style>

<style lang="stylus"></style>
PostCSS
<style type="text/postcss"></style>

<style lang="postcss"></style>

NOTE: You still need to install corresponding packages for pre-processors (e.g. SASS, Typescript) to get proper syntax highlighting for them.


Special Thanks

Huge thanks to the Vue.js folks for their Vue Syntax Highlight package from which a ton of solutions for this package came.

And, obviously, the biggest thanks to Rich Harris for making something as awesome as Svelte.

License

MIT