Markdown Toolbox Logo Markdown Toolbox
Home
Blog

Algorithms to Live By Algorithms to Live By: The Computer Science of Human Decisions by Brian Christian and Tom Griffiths

This is a nonfiction book that made me stop and think several times. I really enjoyed finding ways that computer science could be applied to normal life and decision making. Especially useful for the technically inclined, but useful for many. I recommend checking it out.

Affiliate Link - As an Amazon Associate I earn from qualifying purchases.

How to Resize an Image in Markdown

Thursday, February 8, 2024

Markdown does not directly support resizing images through its syntax. To resize images, you’ll need to use HTML:

<img src="/MarkdownToolboxSmall.png" width="58" height="56"/>

Short version

Use HTML <img> tag with width and height attributes to resize an image in Markdown documents.

Long version

Introduction

Markdown is widely used for its simplicity and effectiveness in creating documents with formatting. However, when it comes to more complex formatting needs, such as resizing images, Markdown's syntax falls short.

Solution

By embedding HTML within your Markdown document, you can easily resize images. This method allows you greater control over the presentation of your images, without stepping outside the Markdown ecosystem.

Conclusion

Although Markdown itself does not offer a direct way to resize images, the use of HTML tags within Markdown documents provides a simple and effective workaround. This ensures your images fit perfectly in your documents, enhancing the overall readability and aesthetic appeal.