Images
- 2023-02-11
- 12:10
🎵 Music: Silverchair - Madman
This is my attempt at actually getting images working. I initially planned on base64-encoding the images like I do with the template, except that if I wanted to reuse the images in other posts, it would be kind of ridiculous and not efficient.
The plan is to attach things in Obsidian, and then have the build script copy the images to the output directory. I just have to ensure that I change the image link format from something that Obsidian uses to something that Markdown uses. I could use Markdown style links throughout Obsidian, but seeing as I also write stories and cross reference notes with one another quite often, I prefer to keep the Wiki styled links.
Anyway. Let's try this. This is my current profile picture on Mastodon. I made it myself in Inkscape. 😄
It looks like like it works, but of course I'll need to style it with CSS. I'm excited about this. 😄
Edit: (2023-02-11 12:55) I've decided on a max-width
of 95% and have the images centered with a border since I'm mainly going to use them as figure diagrams or to share screenshots in my posts.