mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
e3a5b5928f
This feature enables support for prepending a base URL to relative paths in links and images when converting Markdown to HTML. Closes #536
23 lines
610 B
Markdown
23 lines
610 B
Markdown
[inline relative linky](that_dude_mike.js)
|
|
|
|
[inline absolute linky](ftp://wikis.com/micky.txt)
|
|
|
|
[global relative linky][relative_linky]
|
|
|
|
[global absolute linky][absolute_linky]
|
|
|
|
![inline relative image](mona-lisa.png)
|
|
|
|
![inline absolute image](http://images.com/mona-lisa.png)
|
|
|
|
![global relative image][relative_image]
|
|
|
|
![global absolute image][absolute_image]
|
|
|
|
[just an anchor](#holdin_it_down)
|
|
|
|
[relative_linky]: painters/Michelangelo.html
|
|
[relative_image]: ./mona-lisa.png
|
|
[absolute_linky]: https://www.my-wikis-site.com/peeps/Michelangelo.html
|
|
[absolute_image]: https://www.my-photo-site.com/mona-lisa.png
|