snoyberg / markdown

Convert Markdown to HTML, with XSS protection
BSD 3-Clause "New" or "Revised" License
69 stars 401 forks source link

* added simple image parsing with default Markdown syntax #1

Closed tazjin closed 12 years ago

tazjin commented 12 years ago

This implements image embedding with Markdown's default syntax (same as URLs but preceded by an exclamation point) as well as optional image title parsing.
It does not implement referential images.

I didn't dig too deep into this but while writing the simple tests I found that this does not work for inlined image links.

tazjin commented 12 years ago

I found out where the inline image parsing broke and fixed that as well, so this pull request is now "complete".

snoyberg commented 12 years ago

Looks good, thanks!