From 2375e48f618997cb6afbf8dd0ff51485a8cacd70 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sat, 29 Oct 2022 14:42:51 +0200 Subject: reformat """long string""" as shortcode with body command: ``` find * -type f -name '*.md' -execdir perl -gpi -e 's/\{\{\s*(note)\(\s*([^"]*?)\s*text="""(.+?)"""\)\s*\}\}/{{% $1($2) %}}\n$3\n{{% end %}}/g;' '{}' + ``` --- arthursminde/index.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'arthursminde') diff --git a/arthursminde/index.md b/arthursminde/index.md index a13f959b..dc0a0f29 100644 --- a/arthursminde/index.md +++ b/arthursminde/index.md @@ -40,7 +40,9 @@ To navigate old Sundby, you need to know the old street names. You can find a ma -{{ note(text="""tekst""") }} +{{% note() %}} +tekst +{{% end %}} """]] -- cgit v1.2.3