Skip to content

Instantly share code, notes, and snippets.

View alopatin's full-sized avatar

Alex Lopatin alopatin

  • Academia.edu
  • San Francisco, California
View GitHub Profile
@alopatin
alopatin / JSON.sublime-syntax
Created February 16, 2017 23:46
JSON syntax file for Sublime Text
%YAML 1.2
---
name: JSON
file_extensions:
- json
- sublime-settings
- sublime-menu
- sublime-keymap
- sublime-mousemap
- sublime-theme
@alopatin
alopatin / HTML.sublime-syntax
Created February 15, 2017 23:13
Sublime Text HTML syntax file that properly handles <script type="text/babel">
%YAML 1.2
---
name: HTML
file_extensions:
- html
- htm
- shtml
- xhtml
- inc
- tmpl
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-2.1.0.min.js"></script>
<script src="//fb.me/react-with-addons-0.9.0.js"></script>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>