README for a gem

I created a gem called Pushofy. But now I want create a nicely formatted README for it. How should I do it with proper formatting for text and code? Right now I am not sure how the formatting was done. Some part of the code got formatted while some did not.

Assuming you’re referring to how the README looks on GitHub, this is likely what you’re missing: Writing on GitHub - GitHub Docs

Yeah that one. Thanks :smile: