Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-04-06 | rename *.mdwn to */index.md, except index/topbar/farbar/sidebar files | Jonas Smedegaard | |
command: ``` perl -MPath::Tiny -WE 'use strict; path(".")->visit(sub{return unless -f && /\.mdwn$/; my $stem=$_->basename(".mdwn"); my $new=$_->sibling($stem,"index.md"); return if $stem =~ /^index|topbar|sidebar|farbar|footer$/ || $new->exists; $new->parent->mkpath; system("git","mv", $_, $new)},{recurse=>1})' ``` | |||
2024-04-06 | normalize directives to always quote variables | Jonas Smedegaard | |
command: ``` find * -type f -name '*.mdwn' -execdir perl -gpi -e 's/(?:class|link|size|stem|width|height)=\K[^=\s"\]>]+/"$&"/g;' '{}' + ``` | |||
2022-10-28 | normalize headlines to have one leading space and no trailing space | Jonas Smedegaard | |
command: ``` find * -type f -name '*.mdwn' -execdir perl -pi -e 's/^(#+)\s*([^\s#].*?)\h*$/$1 $2/g;' '{}' + ``` | |||
2022-10-28 | fix image paths | Jonas Smedegaard | |
2018-06-08 | (no commit message) | paul | |
2018-06-07 | Move image up. | Siri Reiter | |
2018-06-07 | (no commit message) | paul | |
2018-06-07 | (no commit message) | paul | |
2018-06-07 | (no commit message) | paul | |
2018-06-06 | Remove dummy image. | Siri Reiter | |
2018-06-06 | Fix markup. | Siri Reiter | |
2018-06-06 | Markup corrections. | Siri Reiter | |
2018-06-06 | Add and format text. | Siri Reiter | |
2018-06-06 | (no commit message) | paul | |
2018-06-06 | (no commit message) | paul | |