On a grand quest to get into CodeMirror I am building myself a markdown editor. Currently stumbling over styling images.
So you define an image with ![alt Text](http://link.to/image.jpg)
The GFM mode renders this to:
![alt test]
(
http://link.to/image.jpg
)
While a link with similar Syntax [link text](http://link.url)
becomes
[
linkText
]
(
http://google.com
)
I am wondering why the extra information about the “[]” gets lost for images?
For my editor I would like to style this similar to links because I feel they visually belong together. But issue 824 makes it sound like this is very intentionally not possible.
Would appreciate to understand the reasoning behind this.
And here is how I style my links in markdown: