Finished first draft
A new auto-image is available that will download an image from the internet, you just need to include the base64 encoded url in the include graphics command
This commit is contained in:
parent
312d654ea8
commit
438d357489
4 changed files with 73 additions and 33 deletions
9
bin/download-image
Executable file
9
bin/download-image
Executable file
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
name="$1"
|
||||
basename="$(basename "$name")"
|
||||
b64="${basename%%.*}"
|
||||
b64="${b64##*-}"
|
||||
url="$(echo -n "$b64" | base64 -d)"
|
||||
curl -L -o "$name" "$url"
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue