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

Auto tags based on names #23

Open
kizu opened this issue Nov 21, 2012 · 0 comments
Open

Auto tags based on names #23

kizu opened this issue Nov 21, 2012 · 0 comments

Comments

@kizu
Copy link
Owner

kizu commented Nov 21, 2012

We could set tag names (if they're not defined) based on the block/element names.

For example, if we do +b.menu we treat it as +b('ul').menu by default.

If we have +b.header — make it +b('header').header.

The thing to think on — if there are names in modifiers, for example — what would have more priority? The modifier seems more appropriate for me — so +b.section_footer would give us +b('footer').section_footer

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

No branches or pull requests

1 participant