We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, can we add some custom attribute like WordPress shortcode in section?, for example from this:
{ "fontWeight": function () { return function (text, render) { return '<p style="font-weight: 400">' + render(text) + '</p>'; } } }
{{#fontWeight}} This text is 700 {{/fontWeight}}
to be like this:
{ "fontWeight": function () { return function (text, render, props) { return `<p style="font-weight: ${props.size}">` + render(text) + '</p>'; } } }
{{#fontWeight[size=700]}} This text is 700 {{/fontWeight}}
is it possible?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, can we add some custom attribute like WordPress shortcode in section?, for example from this:
to be like this:
is it possible?
The text was updated successfully, but these errors were encountered: