Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Dec 25, 2025. It is now read-only.

Commit f578d99

Browse files
author
Viktor Novikov
committed
Fix trailing syntax in single-ling sql, support prisma n other orms
1 parent c8f25d7 commit f578d99

File tree

4 files changed

+25
-17
lines changed

4 files changed

+25
-17
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,9 @@ The format is based on [Keep a Changelog] (http://keepachangelog.com/en/1.0.0/)
116116

117117
### [2.11.0] - 2021-10-05
118118
## Improved
119-
- PHP file support
119+
- PHP file support
120+
121+
122+
### [2.12.0] - 2021-10-05
123+
## Fixed
124+
- Fixes issues with trailing syntax in single-line "sql" syntax shown in issue. And also adds support for Prisma and other ORMs that use "xxxxx.sql" syntax. Author: [@jdukleth](https://github.com/jdukleth)

README.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,6 @@ Adds syntax highlight support for code, placed in es6 multiline strings:
1616
- [python-string-sql](https://github.com/ptweir/python-string-sql) - Highlight SQL code in python multiline strings
1717
- [es6-string-javascript](https://github.com/Zjcompt/es6-string-javascript) - Highlight JS in multiline strings
1818

19-
## Contributors
20-
[![guicook](https://img.shields.io/badge/gucook-❤-brightgreen)](https://github.com/guycook)
21-
[![RobertSasak](https://img.shields.io/badge/RobertSasak-❤-brightgreen)](https://github.com/RobertSasak)
22-
[![the-dr-lazy](https://img.shields.io/badge/the--dr--lazy-❤-brightgreen)](https://github.com/the-dr-lazy)
23-
[![yozman](https://img.shields.io/badge/yozman-❤-brightgreen)](https://github.com/yozman)
24-
[![JohnnyLufa](https://img.shields.io/badge/JohnnyLufa-❤-brighten)](https://github.com/JohnnyLufa)
25-
2619
## Installation
2720

2821
- Install `es6-string-html` from extensions (`ctrl + shift + x`)
@@ -67,10 +60,6 @@ Simply insert the comment /\*html\*/ or `html` (also works with SQL, SVG, XML, j
6760
### [...]
6861
- See changelog for previous notes
6962

70-
### [2.7.0] - 2021-04-23
71-
## Fixed
72-
- SQL highlight stops after encountering an identifier delimiter `
73-
7463
### [2.8.0] - 2021-04-23
7564
## Fixed
7665
- SQL support for vue files
@@ -86,6 +75,10 @@ Simply insert the comment /\*html\*/ or `html` (also works with SQL, SVG, XML, j
8675
### [2.11.0] - 2021-10-05
8776
## Improved
8877
- PHP files support
78+
79+
### [2.13.1] - 2023-12-14
80+
## Fixed
81+
- Fixes issues with trailing syntax in single-line "sql" syntax shown in issue. And also adds support for Prisma and other ORMs that use "xxxxx.sql" syntax. Author: [@jdukleth](https://github.com/jdukleth)
8982
-----------------------------------------------------------------------------------------------------------
9083

9184
**Enjoy!**

package-lock.json

Lines changed: 14 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "es6-string-html",
33
"displayName": "es6-string-html",
44
"description": "Syntax highlighting in es6 multiline strings",
5-
"version": "2.12.1",
5+
"version": "2.13.1",
66
"publisher": "Tobermory",
77
"icon": "docs/logo.png",
88
"engines": {

0 commit comments

Comments
 (0)