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

Custom Closed Tags #23

Open
garthenweb opened this issue Nov 30, 2012 · 0 comments
Open

Custom Closed Tags #23

garthenweb opened this issue Nov 30, 2012 · 0 comments

Comments

@garthenweb
Copy link

I like to build a custom tag with an opening and closing tag but can not find a option to set this.
Just got the error: "Tokenization error: test is not a block tag."

kiwi.tools.createSimpleTag('test', function(context, name) {
    return name;
});
{{test "123"}}Content{{/test}}

If there is already an option to do that, please update the readme. Else it would be a great feature!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant