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

Labels for @extendable blocks #97

Open
TheoryOfNekomata opened this issue Nov 24, 2015 · 1 comment
Open

Labels for @extendable blocks #97

TheoryOfNekomata opened this issue Nov 24, 2015 · 1 comment

Comments

@TheoryOfNekomata
Copy link

I'm thinking of having labels for @extendable blocks such as this:

<body>
<!-- @extendable header -->

<!-- @extendable content -->

...

<!-- @extendable footer -->
</body>

And some code in the files that extend it:

<!-- @extend main.html, header -->
Extended Header 
<!-- @endextend -->

<!-- @extend main.html, content -->
Extended Content
<!-- @endextend -->

<!-- @extend main.html, footer -->
Extended Footer
<!-- @endextend -->
@alejandroiglesias
Copy link

Came here looking for the same. This would be very useful for layout HTML files.

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

2 participants