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 names for elements based on blocks #24

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

Auto names for elements based on blocks #24

kizu opened this issue Nov 21, 2012 · 0 comments

Comments

@kizu
Copy link
Owner

kizu commented Nov 21, 2012

Sometimes we could add names for different elements based on parent block names. It would be especially helpful for lists, so (with addition of #23):

+b.list
  +e foo
  +e bar

would be rendered as

+b('ul').list
  +e('li').item foo
  +e('li').item bar

(basically — if the element is a list item and is unnamed — name it as item etc.)

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