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

Parse html to j2html tool #123

Open
ijabz opened this issue Jun 30, 2018 · 4 comments
Open

Parse html to j2html tool #123

ijabz opened this issue Jun 30, 2018 · 4 comments

Comments

@ijabz
Copy link

ijabz commented Jun 30, 2018

An idea, in many cases I can imagine people retrofitting their code to use j2html rather than their previous method. I have html created without j2html, it would be great if i could pass some rendered html which would then generate the j2html java code needed to create it from j2html instead.

@tipsy
Copy link
Owner

tipsy commented Jun 30, 2018

Yes, this is the reason it's a bad fit for bootstrap, since you need to convert a lot of html to j2html. There was an issue for creating a conversion tool a few years back, but no one seemed interested in working on it.

@tipsy
Copy link
Owner

tipsy commented Jul 8, 2018

@rupert-madden-abbott
Copy link
Contributor

I came up with this, this evening. It's very basic but functional. Posting here in case it is useful to others: https://github.com/rupert654/j2html-generator

@tipsy
Copy link
Owner

tipsy commented Aug 19, 2018

Nice work rupert! It would be nice to have a JavaScript version that could be run in the browser, but I suppose I could create a web service for it.

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

3 participants