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 8K
  • Win 2K
  • Mac 4K
  • Linux 2K
Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11
Windows 0 2 1 1 5 1 2 7 4 1 3 11 5 6 5 1 7 3 3 3 7 3 2 3 3 2 1 3 2 2 2 4 2 4 4 1 3 2 1 4 1 2 5 4 0 1
Mac 2 6 7 2 9 3 4 8 4 4 6 1 4 6 5 3 3 3 7 6 6 6 4 5 3 4 5 6 2 8 2 4 5 4 6 10 5 0 3 4 5 8 9 0 4 5
Linux 0 6 5 4 6 3 2 3 5 1 3 4 6 3 7 3 3 4 3 4 3 3 2 4 1 2 3 4 5 1 2 4 0 4 2 2 2 3 2 5 3 2 2 1 3 1

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