Inline, reference, and autolinks
Markdown links come in three styles. Inline ([text](url)) is the default — fine for short documents. Reference ([text][id] with [id]: url elsewhere) keeps prose readable when you have many links. Autolinks (<https://example.com>) wrap raw URLs.
Images use the same syntax with a leading bang
. The alt text is not optional — screen readers depend on it, and it shows when the image fails to load. Empty alt () explicitly signals 'decorative'.
Sizing requires HTML
CommonMark has no syntax for image dimensions. When you need control, drop down to an <img> tag with width, height, or style attributes. Most Markdown renderers allow inline HTML.
Accessibility principle: alt text describes the image's function in context, not its appearance. A logo at the top of a doc has alt='Acme Corp logo', not alt='Three blue triangles'.