summaryrefslogtreecommitdiff
path: root/skole/opgaver
AgeCommit message (Collapse)Author
2024-04-06convert img and template directives to shortcodesJonas Smedegaard
command: ``` find * -type f -name '*.md' -execdir perl -gpi -e 's/\[\[!img\s+([^\s\]"]+)(\s(?:[^\]]|"[^"]*")+?)?\s*\]\]/{{ img(path="$1"$2) }}/g; s/\[\[!template\s+id="?(columns|note|video)"?\s+([^\]]+?)\s*\]\]/{{ $1($2) }}/g;' '{}' + ```
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
2019-02-20(no commit message)paul
2017-09-04Remove Ikiwiki scaling of inline overview lists and implement the class ↵Siri Reiter
'overview' instead.
2014-08-11Clean up text hierarchy.Siri Reiter
2014-08-11Clean up typografhically.Siri Reiter
2014-08-11Text corrections.Siri Reiter
2014-08-09Rename page and change links.Siri Reiter
2014-08-03(no commit message)https://www.google.com/accounts/o8/id?id=AItOawnDHAqtpGqONpXAXWdnqqWFjeWgcsojN3g
2014-08-03(no commit message)https://www.google.com/accounts/o8/id?id=AItOawnDHAqtpGqONpXAXWdnqqWFjeWgcsojN3g
2014-08-03vedhæftningsoplægninghttps://www.google.com/accounts/o8/id?id=AItOawnDHAqtpGqONpXAXWdnqqWFjeWgcsojN3g
2014-08-03(no commit message)https://www.google.com/accounts/o8/id?id=AItOawnDHAqtpGqONpXAXWdnqqWFjeWgcsojN3g
2014-07-31(no commit message)https://www.google.com/accounts/o8/id?id=AItOawnDHAqtpGqONpXAXWdnqqWFjeWgcsojN3g
2014-07-31vedhæftningsoplægninghttps://www.google.com/accounts/o8/id?id=AItOawnDHAqtpGqONpXAXWdnqqWFjeWgcsojN3g
2014-07-31(no commit message)https://www.google.com/accounts/o8/id?id=AItOawnDHAqtpGqONpXAXWdnqqWFjeWgcsojN3g
2014-07-31vedhæftningsoplægninghttps://www.google.com/accounts/o8/id?id=AItOawnDHAqtpGqONpXAXWdnqqWFjeWgcsojN3g