Hacker News new | past | comments | ask | show | jobs | submit login
Markdress - Render any markdown URL (s-anand.net)
52 points by boundlessdreamz on Dec 3, 2011 | hide | past | favorite | 13 comments



Cool project. It looks like you need to adjust relative image sources so they will load.

http://markdress.org/goo.gl/zTG1q


Actually, I'd rather leave it to the author of the document, because it seems a tough problem to solve.

At http://markdress.org/goo.gl/zTG1q, for example, the image is linked to an absolute URL: /graphics/markdown/mt_textformat_menu.png. It's going to be a bit cumbersome to traverse through goo.gl and detect that this is actually at http://daringfireball.net/. Might be easier if authors either stuck to pure relative URLs, or full URLs with domains.

But that's just me passing the buck...


A quick workaround would be to add the `<base>` tag: https://developer.mozilla.org/en/HTML/Element/base to your generated HTML and have it point it to the target URL.


IMO there's one missing from the list of alternatives: Markdrop (http://www.markdrop.com/) (http://news.ycombinator.com/item?id=3089355)


I've added it now. Thanks.


One cool little thing you could add is a javascript widget on the front page, where people could paste in their link to a markdown file, and have it automatically formatted as a Markdress link (or even redirect them to the markdress page).

ps. Thanks for the Pancake.io shoutout!


Added. Thanks for the suggestion!


Misread "Markdness"... Would have been equally fitting :)


Doesn't work work HTTPS links. (eg: markdown text on github project pages).


Github renders markdown automatically anyway though.


True. This is something I'm working on. Even with Dropbox, I'd rather use an HTTPS than HTTP.


Cool project! You can add simple caching for free in like a minute with CloudFlare (https://www.cloudflare.com/).


Why is this getting voted down? Is there something about cloudflare i don't know about? He said he hadn't implemented caching yet so I told him an easy way to do it...




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: