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

Please Support HTML Comments #12

Open
kat-co opened this issue Jun 3, 2017 · 0 comments
Open

Please Support HTML Comments #12

kat-co opened this issue Jun 3, 2017 · 0 comments

Comments

@kat-co
Copy link

kat-co commented Jun 3, 2017

It would be nice if I could do something like this:

(:comment "For old IE compatibility")
(:comment "[if lt IE 9]>" (:script :src "foo.js") "<![endif]")`

And when using one of the HTML renderers have it rendered as:

<!-- For old IE compatibility -->
<!-- [if lt IE 9]> <script src="foo.js" /> <![endif]-->

You can probably come up with syntax that makes more sense within the context of cl-markup, but this is the general idea.

Thank you very much for creating and supporting this project.

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

1 participant