Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add custom end marker for comment templates #18

Closed
UnexomWid opened this issue Jun 8, 2020 · 0 comments
Closed

Add custom end marker for comment templates #18

UnexomWid opened this issue Jun 8, 2020 · 0 comments
Assignees
Labels
added The requested feature was added approved The request or addition was approved feature Feature request or addition

Comments

@UnexomWid
Copy link
Owner

When writing other templates in a comment template, the template ends must be escaped. This can become annoying, as you have to un-escape all ends if you decide to uncomment the templates in the future.

[|//
    [| template here \|]
    [|@ it : array \|]
|]

It would be better if comment templates had a special end marker, like this:

[|//
    [| template here |]
    [|@ it : array |]
//|]

In this case, the marker is //|], so the templateEnd marker can be included in the comment without any issues.

Also, a proper option should be added for this marker.

@UnexomWid UnexomWid added feature Feature request or addition approved The request or addition was approved labels Jun 8, 2020
@UnexomWid UnexomWid self-assigned this Jun 8, 2020
@UnexomWid UnexomWid added the added The requested feature was added label Jun 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
added The requested feature was added approved The request or addition was approved feature Feature request or addition
Projects
None yet
Development

No branches or pull requests

1 participant