-
Notifications
You must be signed in to change notification settings - Fork 852
Open
Description
Status quo
These are some of the current tokens:
<%<%=<%-<%%%>-%>
We can specify:
delimiteropenDelimitercloseDelimiter
Then % in the tokens is replaced with delimiter, < with openDelimiter and > with closeDelimiter.
I see two issues with that approach:
- If
delimiteris (e.g.)=or-then escaping doesn’t work. It also looks odd ifdelimiteris more than one character. - It limits the open and close delimiters we can specify. Recent use case I had:
- Open with
'/* '(space after*) - Close with
'*/'(no space)
- Open with
Suggestion
Let us specify:
openDelimiter: the whole open delimitercloseDelimiter: the whole close delimiterescapedOpenDelimiter. Default:openDelimiter + '%'
Metadata
Metadata
Assignees
Labels
No labels