ecoquants / findinghal

white abalone recovery & community engagement
http://findinghal.org
MIT License
0 stars 0 forks source link

Resize from readLines() for the Ab Key #6

Closed mspector13 closed 3 years ago

mspector13 commented 3 years ago

Hey @bbest ,

I'm trying to figure out how to resize the still-under-construction abalone key to fit a window's size:

Screen Shot 2021-05-06 at 5 08 41 PM
cat(readLines("images/key.svg"))

From what I've read/seen, when you add in an image using ![some caption](./images/whatever_image.jpg) the html output resizes the image to match a window's size, which is great!

However, it's easy enough to manually resize the image using {width=n%} (e.g. (./images/whatever_image.jpg){width=75%}) but I can't figure out how to make readLines() cooperate! No matter where I add {width=n%} I get error messages, such as:

Screen Shot 2021-05-06 at 5 14 37 PM

Instead of using cat(readLines) to add in the .svg key, should we just use ![some caption](./images/whatever_image.jpg) ?

Thanks in advance!

bbest commented 3 years ago

Closing for now b/c going route of id cards #9