bootstrap-ruby / bootstrap_form

Official repository of the bootstrap_form gem, a Rails form builder that makes it super easy to create beautiful-looking forms using Bootstrap 5.
MIT License
1.64k stars 352 forks source link

Add example images to README.md #635

Closed donv closed 2 years ago

donv commented 2 years ago

I enhanced the demo app to accept an ERB snippet and render it.

Then I added a new system test to the demo app that scans the README.md file for ERB snippets, renders them, saves a screenshot, and inserts an image link for the screenshot in the README.md file.

This is both to display the result to developers, but also to ensure that the snippet actually does what it should and track changes over time.

What do you think?