fayland / perl-Dist-Zilla-Plugin-GitHubREADME-Badge

Dist::Zilla - add badges to github README.md
Other
6 stars 9 forks source link

Feature request: place badges anywhere in Readme #37

Open Kage opened 5 years ago

Kage commented 5 years ago

Hello,

Thank you for the useful plugin! If I may, I'd like to make a suggestion for the following optional behavior:

place = middle
marker = "^[BADGES]$"

In effect, when place is set to "middle", this will do a simple s/$marker/@badges/ on the readme content and inject the badges there. This would be useful when, for example, I convert my lib pod to a README.md and want to inject the badges at the end of the description block or elsewhere.

Let me know if you'd like me to create a PR and I try to do so this weekend.

Edit: Fixing examples

Thanks again!