refac: deprecate [ ] prompt variables
This commit is contained in:
1 parent
893bfe9d3a
commit
3d26bca7c5
1 file changed
+1
-4
@@ -53,10 +53,7 @@
|
|||||||
|
|
||||||
// Function to find the next template in the document
|
// Function to find the next template in the document
|
||||||
function findNextTemplate(doc, from = 0) {
|
function findNextTemplate(doc, from = 0) {
|
||||||
const patterns = [
|
const patterns = [{ start: '{{', end: '}}' }];
|
||||||
{ start: '[', end: ']' },
|
|
||||||
{ start: '{{', end: '}}' }
|
|
||||||
];
|
|
||||||
|
|
||||||
let result = null;
|
let result = null;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user