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
Is it possible to add a way to declare templates based on block/elements' names and modifiers?
Jade already have a way to call mixins using an interpolation:
+#{'b'}.block +#{'e'}.element
Would this be enough to allow defining custom templates, so things like this:
mixin bemto_block() +b.block-wrapper +b.block +b.element block +b.block = "Whatever"
would be treated as:
+b.block-wrapper +b.block +b.element = "Whatever"
One of the problems is how to stop it being recursive, when the +b.block can be used inside bemto_block mixin?
+b.block
bemto_block
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is it possible to add a way to declare templates based on block/elements' names and modifiers?
Jade already have a way to call mixins using an interpolation:
Would this be enough to allow defining custom templates, so things like this:
would be treated as:
One of the problems is how to stop it being recursive, when the
+b.block
can be used insidebemto_block
mixin?The text was updated successfully, but these errors were encountered: