I have to create a report, and in order to do some colouring and tables, I decided on HTML. Is there any gem I could use to do this? I’d like to avoid having to write the tags myself.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can take a look at Markaby which lets you generate HTML through a Ruby DSL.
An example from the official docs:
Alternatively you can look into one of the many template engines available. For example: