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

FR: parse comments #1

Open
ptim opened this issue Aug 14, 2019 · 0 comments
Open

FR: parse comments #1

ptim opened this issue Aug 14, 2019 · 0 comments

Comments

@ptim
Copy link

ptim commented Aug 14, 2019

Love your work - this feels like the best of tailwinds and styled-components together, thanks!

I'd like to be able to add comments into the component... I recall being able to do that in styled-components, maybe there's some inspiration there... may send a PR your way one day 😛

Thanks again!

const Container = classed.div`
  container max-w-sm // comment after
  // some meaningful comment here
  mx-auto 
`

Which currently outputs:

<div class="container max-w-sm // comment after // some meaningful comment here mx-auto">
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