Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 27 days 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 (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-08-15T11:44:59.000Z (over 1 year ago)
- Last Synced: 2024-11-08T10:54:19.339Z (3 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
![image](https://user-images.githubusercontent.com/24665/183111942-9d6e8dc7-6b82-47fb-9492-07d25ffc6523.png)
## 🚨 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%)"
},
]
}```