https://github.com/gnat/sublime-python-html-sql
HTML + SQL highlighter extension for strings in Python for Sublime Text!
https://github.com/gnat/sublime-python-html-sql
highlighter html sql sublime-text
Last synced: 4 months ago
JSON representation
HTML + SQL highlighter extension for strings in Python for Sublime Text!
- Host: GitHub
- URL: https://github.com/gnat/sublime-python-html-sql
- Owner: gnat
- License: mit
- Created: 2022-08-05T14:41:40.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-15T11:44:59.000Z (almost 2 years ago)
- Last Synced: 2024-12-31T16:50:08.365Z (5 months ago)
- Topics: highlighter, html, sql, sublime-text
- Homepage:
- Size: 57.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Highlight HTML + SQL in Python for Sublime!
## Screenshot

## 🚨 Install Instructions
Direct: `Preferences` ➡️ `Browse Packages ...` ➡️ `cd User` ➡️ [Download and extract the latest.](https://github.com/gnat/sublime-python-html/archive/refs/heads/main.zip)
Package Control: `Primary+P` ➡️ `Package Control: Add Repository` ➡️ `https://github.com/gnat/sublime-python-html` ➡️ `Primary+P` ➡️ `Package Install` ➡️ `sublime-python-html`
Use it: `View` ➡️ `Syntax` ➡️ `User` ➡️ `Python (HTML)`
## Suggested Sublime Color Schemes
* [Invader Zim](https://github.com/gnat/sublime-invader-zim) 🛸
* Mariana (Built-in)
* Monokai (Built-in)Pairs well with:
* Darkstar: https://github.com/lllama/dark-star
* Raw strings for Jinja.## Alternative for VS Code / Codium
* https://github.com/ptweir/python-string-sql
## Bonus! Dark background color for embedded blocks.
Use it: `Preferences` ➡️ `Customize Color Scheme`
```json
{
"rules":
[
{
"name": "sql highlight",
"scope": "source.sql",
"background": "hsl(180, 0%, 3%)"
},
{
"name": "py highlight",
"scope": "string.quoted.double.block.python",
"background": "hsl(180, 0%, 3%)"
},
{
"name": "py highlight2",
"scope": "source.js.embedded.html",
"background": "hsl(180, 0%, 3%)"
},
{
"name": "py highlight3",
"scope": "text.html.basic",
"background": "hsl(180, 0%, 3%)"
},
]
}```