html2pug icon indicating copy to clipboard operation
html2pug copied to clipboard

Conditionals support?

Open QuakeCake opened this issue 6 years ago • 2 comments

Are you planning on adding support for pug conditionals in the future? Since in my project I have to convert html templates into pug for storage and then reconvert them back to html for rendering it would be great to support pug conditionals in the html.

What are your thoughts?

QuakeCake avatar May 29 '19 08:05 QuakeCake

Hey @QuakeCake, I'm having some trouble seeing what you mean, could you perhaps provide some code examples? Cheers.

izolate avatar Jun 03 '19 16:06 izolate

HI @izolate , sorry for the late reply. I've created a repo with some code that does what I mean. If you wanna check it out it's at https://github.com/QuakeCake/html2pug

QuakeCake avatar Nov 15 '19 23:11 QuakeCake