nixers
Markdown Fixes. - Printable Version
+- nixers (https://nixers.net)
+-- Forum: General (https://nixers.net/Forum-General)
+--- Forum: Community & Forums Related Discussions (https://nixers.net/Forum-Community-Forums-Related-Discussions)
+--- Thread: Markdown Fixes. (/Thread-Markdown-Fixes)


Markdown Fixes. - yrmt - 28-07-2012

So I fixed markdown problems with urls. Had to deactivate URL auto parsing in mybb code. Images also work.

Code:
This is [an example](http://example.com/ "Title") inline link.

[This link](http://example.net/) has no title attribute.

Quote:![Alt text](imageurl)

![Alt text](/imageurl "Optional title")

Also, you can use images to link images, which is useful since markdown doesn't work in bbcode spoilers.

Quote:[![image](http://www.dodaj.rs/t/5/pQ/1uNElO2Y/grid.jpg)](http://www.dodaj.rs/f/5/pQ/1uNElO2Y/grid.png)

Becomes:

[![image](http://www.dodaj.rs/t/5/pQ/1uNElO2Y/grid.jpg)](http://www.dodaj.rs/f/5/pQ/1uNElO2Y/grid.png)

And to get that small image, you can use 'mogrify' from imagemagick.

Code:
mogrify -resize 250x250 thumb.jpg



RE: Markdown Fixes. - crshd - 29-07-2012

Yay to images in links! I prefer thumbnails over spoilers anyways.

Thanks Beastie!