mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
d3ebff7ef0
This is a major refactor of the links subparser, previously known as anchors subparser. Closes #355, #534 BREAKING CHANGE: `excludeTrailingPunctuationFromURLs` option was removed. This is now the default behavior
38 lines
450 B
Markdown
38 lines
450 B
Markdown
![my cat](<images(1)/cat(1).png>)
|
|
|
|
[my cat](<images(1)/cat(1).png>)
|
|
|
|
![foo](<some.com/crazy url with spaces>)
|
|
|
|
![foo](<some.com/crazy url with spaces> "title")
|
|
|
|
[foo](<some.com/crazy url with spaces>)
|
|
|
|
[foo](<some.com/crazy url with spaces> "title")
|
|
|
|
![empty](<>)
|
|
|
|
[empty](<>)
|
|
|
|
![empty](<> "title")
|
|
|
|
[empty](<> "title")
|
|
|
|
![empty](< >)
|
|
|
|
[empty](< >)
|
|
|
|
![empty](< > "title")
|
|
|
|
[empty](< > "title")
|
|
|
|
[empty]()
|
|
|
|
[empty]("title")
|
|
|
|
[]()
|
|
|
|
[](<>)
|
|
|
|
[]("title")
|