Skip to content

gnat/vscode-python-highlight-html-sql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python String Highlighter for HTML, SQL

Highlight HTML, SQL in Python Strings for VSCode, Codium.

Github: https://github.com/gnat/vscode-python-highlight-html-sql

Embed HTML. Kinda like:

  • PHP.
  • Python Server Pages (PSP)
  • PyCharm SQL highlighting

Pairs well with:

Screenshot

image

🚨 Install Instructions (Codium)

  1. Download as zip (under the code button) or clone.
  2. Add vscode-python-highlight-html-sql folder to:
    • ~/.vscode-oss/extensions/ (Linux 🐧 / Mac 🍏)
      • Flatpak? Use ~/.var/app/com.vscodium.codium/data/codium/extensions/
    • %USERPROFILE%.vscode-oss\extensions (Windows 🖥️)
  3. Restart VS Codium.

🚨 Install Instructions (VSCode)

  1. Download as zip (under the code button) or clone.
  2. Add vscode-python-highlight-html-sql folder to:
    • ~/.vscode/extensions/ (Linux 🐧 / Mac 🍏)
    • %USERPROFILE%.vscode\extensions (Windows 🖥️)
  3. Restart VS Code.

Special thanks to:

Alternative for Sublime Text

Compliments well with Highlight:

  • Highlight multiline language blocks (Similar to Sublime or TextMate, but not quite as good due to limitations in VSCode).
"highlight.regexes": {
    "(\\\"\\\"\\\"((.|\\n)+?)\\\"\\\"\\\")" :{
        "regExFlags":"gims",
        "decorations": [
            {
                "backgroundColor": "#000000",
                "overviewRulerColor": "#000000",
            }
        ]
    },
    "(\\'\\'\\'((.|\\n)+?)\\'\\'\\')" :{
        "regExFlags":"gims",
        "decorations": [
            {
                "backgroundColor": "#000000",
                "overviewRulerColor": "#000000",
            }
        ]
    },
}

About

Highlight HTML, SQL in Python Strings for VSCode, Codium. Embed HTML, PHP, Python Server Pages style.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published