Link, image & code block generator
Updated
The three snippets people most often get slightly wrong — links, images, and fenced code blocks — generated correctly from a form, with a live preview. It handles the edge cases for you: tooltip titles, reference-style links, sized images (which need HTML), clickable images, and code that itself contains backtick fences.
Markdown
[markdown cheat sheet](https://docs-md.com/markdown-cheat-sheet)
Preview
The syntax being generated
Links are [text](url "title") — no space between the brackets and parenthesis. Images are the same with a leading !, and sizing requires switching to an HTML <img width> tag. Code blocks are fenced with three backticks plus a language tag — or four backticks when the code contains a fence. Full details in the guides: links, images, code blocks. When the document is done, ask your AI agent to publish it to Docs MD for a link.
How do I add a tooltip to a markdown link?
Put the title in quotes after the URL: [text](https://example.com "Shown on hover"). The title is optional and most renderers show it as a browser tooltip; GitHub does, chat apps generally do not.
How do I resize an image in markdown?
Markdown has no size syntax, so the generator switches to an HTML tag when you enter a width: <img src="…" alt="…" width="400">. That works on GitHub and in most documentation sites; renderers that strip HTML show the image at full size.
How do I make an image clickable?
Wrap the image in a link: [](https://example.com). The outer brackets are the link, the inner  is the image. Fill in the target field in the image tab and the generator produces exactly that.
How do I put backticks inside a code block?
Open and close the block with four backticks instead of three (or use ~~~). The generator checks your code for a triple-backtick fence and lengthens the outer fence automatically.