question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Set "title" attribute for images from markdown

See original GitHub issue

It’d be nice if we could set the title attribute for images as well as the alt attribute with the caption being entered in the markdown.

Issue Analytics

  • State:closed
  • Created 10 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

4reactions
halfdancommented, Oct 17, 2013

Regarding the title: I propose to use

<figure>
  <img src=".." alt=".." title="Optional title" />
  <figcaption>Optional title</figcaption>
</figure>

This would make it easy to add captions to images that are easy to style with CSS.

@JohnONolan This isn’t a Markdown extension. It’s part of the original Markdown: http://daringfireball.net/projects/markdown/syntax#img


I’d like to implement this if above format is accepted.

0reactions
ErisDScommented, Aug 23, 2014

Closing as wontfix against #1294 as it’s pretty hard to get done before we rebuild the editor.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Markdown Image Titles and Alt Text - DEV Community ‍ ‍
If the title attribute is empty but the alt attribute is not, it will be used instead. Set this option to true to...
Read more >
markdown image titles and alt text - code-comments
If the title attribute is empty but the alt attribute is not, it will be used instead. Set this option to true to...
Read more >
Markdown image titles - Stack Overflow
I'm using the GitHub viewer and there I see the image fine, but without the title / caption. Is there any way to...
Read more >
Markdown's gentle encouragement towards accessible images
Markdown's design doesn't force you to use alt text, but it provides gentle encouragement. It reminds you that images should have alt text,...
Read more >
Adding images to markdown pages with alt, title, height and ...
How to add width to markdown images ... There is no support for markdown standard syntax for adding width. You can use a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found