diff options
author | Jonas Smedegaard <dr@jones.dk> | 2022-06-19 21:14:55 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2022-10-28 18:01:28 +0200 |
commit | ccde3cd375bad24f1a0eba3c6d00cabb749ce491 (patch) | |
tree | 6093521467e840aa6068829639adb6491fff8952 /christianshavn | |
parent | 8cb452283fee77802b91174e7d51408429ff08d2 (diff) |
normalize headlines to have one leading space and no trailing space
command:
```
find * -type f -name '*.mdwn' -execdir perl -pi -e 's/^(#+)\s*([^\s#].*?)\h*$/$1 $2/g;' '{}' +
```
Diffstat (limited to 'christianshavn')
0 files changed, 0 insertions, 0 deletions