Skip to content

Instantly share code, notes, and snippets.

@deathaxe
deathaxe / XML (Python).sublime-syntax
Created July 24, 2021 13:19
XML syntax for Sublime Text 4 with python syntax highlighting in <exec>...</exec> tags.
%YAML 1.2
---
name: XML (Python)
scope: text.xml.python
version: 2
extends: Packages/XML/XML.sublime-syntax
# file_extensions:
# - xml
@deathaxe
deathaxe / HTML (Surface).sublime-syntax
Last active July 25, 2021 09:26
Embeds Elixir syntax into HTML (requires a syntax to be installed, which provides `source.elixir`).
%YAML 1.2
---
name: HTML (Surface)
scope: text.html.surface
version: 2
# if no JS/CSS is needed
extends: Packages/HTML/HTML (Plain).sublime-syntax
# Full HTML support including JS/CSS highlighting