summaryrefslogtreecommitdiff
path: root/frederiksbergcykel.mdwn
AgeCommit message (Collapse)Author
2024-04-06rename *.mdwn to */index.md, except index/topbar/farbar/sidebar filesJonas 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-06normalize directives to always quote variablesJonas Smedegaard
command: ``` find * -type f -name '*.mdwn' -execdir perl -gpi -e 's/(?:class|link|size|stem|width|height)=\K[^=\s"\]>]+/"$&"/g;' '{}' + ```
2023-10-18wrap deco images, to support excempting auto-width stylingJonas Smedegaard
2023-08-02add alternative stylingSiri Reiter
2022-10-28normalize headlines to have one leading space and no trailing spaceJonas Smedegaard
command: ``` find * -type f -name '*.mdwn' -execdir perl -pi -e 's/^(#+)\s*([^\s#].*?)\h*$/$1 $2/g;' '{}' + ```
2020-08-01(no commit message)paul
2020-07-26fix line breaksSiri Reiter
2020-07-26trim textSiri Reiter
2020-07-26fix: change image and image linkSiri Reiter
2020-07-26Correct textSiri Reiter
2020-07-25(no commit message)paul
2020-07-25(no commit message)paul
2020-07-25(no commit message)paul