erisa pixelated
This commit is contained in:
parent
3d6d4a1d10
commit
db9d75f86c
2 changed files with 4 additions and 3 deletions
|
@ -10,9 +10,10 @@ color() {
|
|||
system-image() {
|
||||
local color="$1"
|
||||
local url="$2"
|
||||
local imageRendering="${3:-auto}"
|
||||
local altText="$(cat /dev/stdin)"
|
||||
|
||||
echo "<img src=\"${url}\" alt=\"${altText}\" style=\"width:150px;height:150px;border:${color} solid;border-width:0 5px 5px 0;\" />"
|
||||
echo "<img src=\"${url}\" alt=\"${altText}\" style=\"image-rendering:${imageRendering};width:150px;height:150px;border:${color} solid;border-width:0 5px 5px 0;\" />"
|
||||
}
|
||||
|
||||
cmd="$1"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue