quicktemplate icon indicating copy to clipboard operation
quicktemplate copied to clipboard

how to modify right and left delimiters

Open huyongde opened this issue 8 years ago • 7 comments

{% %} are default delimiters, how to modify the default right and left delimiters, thanks

huyongde avatar Oct 12 '17 04:10 huyongde

Can't be changed easily from looking at the code. Are there plans to make them configurable? My use case is to generate liquid templates which use the same delimiters

dommmel avatar Feb 02 '18 09:02 dommmel

I think this is not that difficult. I am already working on it. Compilers and scanners are my favorite programming problems.

b3b00 avatar Apr 17 '19 10:04 b3b00

@huyongde , the solution is near. Could you share you ruse case so I can check if I am on good track ?

b3b00 avatar Apr 17 '19 17:04 b3b00

@huyongde , @dommmel : PR 50 is ready for testing your use cases if you want

b3b00 avatar Apr 19 '19 08:04 b3b00

{% %} are default delimiters, how to modify the default right and left delimiters, thanks

@huyongde , could you explain the use case where you need to change default delimiters?

valyala avatar May 06 '19 16:05 valyala

@dalu what is tour JavaScript use case ?

b3b00 avatar Jun 22 '19 09:06 b3b00

@dalu yes Indeed what is **your__ ** use case... Stupid trench auto correct keyboard

b3b00 avatar Jun 22 '19 12:06 b3b00