diff options
author | Jonas Smedegaard <dr@jones.dk> | 2022-10-29 14:42:51 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2024-04-06 10:37:11 +0200 |
commit | 2375e48f618997cb6afbf8dd0ff51485a8cacd70 (patch) | |
tree | 1d18bbf13dbd7b95cce5ded24c510c5ded6f74fa /instruktion | |
parent | 58d103da0050605f770ca42566f954f273032016 (diff) |
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;' '{}' +
```
Diffstat (limited to 'instruktion')
-rw-r--r-- | instruktion/index.md | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/instruktion/index.md b/instruktion/index.md index b8462dd8..30644148 100644 --- a/instruktion/index.md +++ b/instruktion/index.md @@ -75,8 +75,12 @@ Link til mig</a> Det eksterne link virker i billeder, men åbner ikke i et andet vindue. (TODO) ## Notebox -{{ note(text="""Eksempel på notebox""") }} -\{{ note(text="""Eksempel på notebox""") }} +{{% note() %}} +Eksempel på notebox +{{% end %}} +\{{% note() %}} +Eksempel på notebox +{{% end %}} ## Sådan laves en tabel |