3 # Converts the last NEWS entry to GitHub format
9 # stop at the second header
11 # strip the leading indentation
14 s/^[A-Za-z0-9_-]/## \0/
15 # Turn PR and Issue references to links
16 s%PR#\([0-9]\{1,\}\)%[\0](https://github.com/geany/geany/pull/\1)%g
17 s%Issue#\([0-9]\{1,\}\)%[\0](https://github.com/geany/geany/issues/\1)%g