Closed Leko closed 6 years ago
@azu Maybe, Image
is meaningless.
For example, ![JQUERY](https://example.com)
is valid always (even if checkImage
is true).
Because Image
has not any children of Str
.
markdown: ![JQUERY](https://example.com "JQUERY")
ast:
{
"type": "Image",
"title": "JQUERY",
"url": "https://example.com",
"alt": "JQUERY",
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 39
}
},
"range": [
0,
39
],
"raw": "![JQUERY](https://example.com \"JQUERY\")"
}
So we can remove checkImage
option and Image
type from the blacklist, right?
@Leko You're correct.
Current Image
handling is incorrect.
We should file it as another issue about Image
and Code
support.
Fixed #33