Refine implementation of MD045/no-alt-text in previous commit.

This commit is contained in:
David Anson 2018-01-06 18:06:32 -08:00
parent 4fa837a031
commit f91f0880c3
7 changed files with 61 additions and 44 deletions

View file

@ -1,3 +1,26 @@
# This is an image link without any alt text
# Images with and without alternate text
![](image.jpg) {MD045}
![Alternate text](image.jpg)
![](image.jpg) {MD045}
![Alternate text](image.jpg "Title")
![](image.jpg "Title") {MD045}
Image without alternate text ![](image.jpg) in a sentence. {MD045}
Reference image with alternate text ![Alternate text][notitle]
Reference image without alternate text ![][notitle] {MD045}
Reference image with alternate text and title ![Alternate text][title]
Reference image without alternate text and title ![][title] {MD045}
Link to image with alternate text [![Alternate text](image.jpg)](image.jpg)
Link to image without alternate text [![](image.jpg)](image.jpg) {MD045}
[notitle]: image.jpg
[title]: image.jpg "Title"