An easy way to move from the Admonition plug-in to the core Callout functionality.
This is an GAWK script that make the most basic move of tranforming
```ad-check
A check on one line
and on some other lines as well
ending with an extra space
` ``
into
> [!check]
> A check on one line
>
> and on some other lines as well
> ending with an extra space
>
OIFS="$IFS"
IFS=$'\n'
for FILE in `find {YOU_OBSIDIAN_VAULT_DIR} -name '*.md'`; do gawk -i inplace -f admonition-to-callout.awk $FILE; done
IFS="$OIFS"
Use the ./test.sh
command to run the tests.