There needs to be a blank line before the example, and the code needs to either be indented 4 spaces or use a fenced code block, otherwise it will just show up as a single paragraph in the readme.