"Learning Haskell" is filled in the description of the gist. Descriptions can be fairly lengthy and not always suitable as titles. However, I think it would be awesome to support metadata in a form like in Jekyll posts or something similar.
To keep track of the fascinating and rapidly evolving Markdown ecosystem, I maintain an inventory¹ of Markdown dialects, editors, parsers, stylesheets, various tools, etc.
Kudos on Mkdown.com! It’s been added to the list.²
Yeah, maybe for v2. The goal of this was to elegantly share .md files (hence the name), so other file types are outside the scope of what I wanted to build.
I don't think parent is talking about other file types exactly, but rather that on github itself, you can have code blocks within your .md that get syntax highlighted. Which, for some people, is a pretty key feature of github markdown.
On yours, as in parent's example, the code blocks don't even get put in a `<pre>`, which would be the minimal 'right thing' if you're not going to do syntax highlighting.
(Of course, yes, syntax highlighting code blocks within .md is pretty much going to use the same logic as handling other file types, it's true).
It looks like he just fed it a plain python gist, no Markdown, no nothing. On the site it says the service can be used "to elegantly share gists written in Markdown", so I don't know why he would expect that to work.
I guess a clear error message would be helpful, but then you would either have to rely on everyone using standard file endings, or do some pretty fancy (and unreliable) parsing to determine if it's actually Markdown.
Fenced code blocks do come through as expected — complete with syntax highlighting. Well done!
One suggestion though: I expect my code blocks to not wrap — they’re in <pre> tags, after all. The stylesheet should have them rendered either with horizontal scrolling, or with overflow.
Although http://gist.io has this already, I think I like mkdown's CSS a little better (though there doesn't seem to be <code> styling as of yet). In any case, great work!
I opened it and thought that pg would approve of the narrow column [0]. Then I looked who made it and saw that it's a founder of one of the best examples of YC (not just companies that are doing well but seem philosophically aligned with YC).
Edit: I was wrong, SeatGeek didn't go through YC. But the company is certainly well-liked around here, partly because of their open source: https://github.com/seatgeek/soulmate
my classmate's half-sister makes $60 every hour on the internet . She has been out of work for five months but last month her pay check was $20296 just working on the internet for a few hours. check this........... www.Works6.Com
Does it have to be limited to using a gist? Would it be possible to pass in any url to just raw markdown and have that parsed (i.e. like raw.github.com)
Great work though - I wish I saw this last week while showing markdown to others for the first time.
I did something similar a while back with https://github.com/sntran/gists.io, but was too ambitious to include editor. That got me nowhere. Yours look very nice and simple.
57 comments
[ 4.2 ms ] story [ 101 ms ] threadWell, time for mkdown to pivot and rebrand as "gist.io but without serifs."
Seriously though, looks like they did a great job.
If everything worked in elinks we'd live in a perfect world.
2) JavaScript is an additional vector for exploits
3) Wayback Machine can't archive and render most JavaScript-only content
4) Most search engines besides Google can't index JavaScript-only content
Can we have custom title too? this gist[1] titled "Learning Haskell" but in mkdown[2] it just say "Gist 8739525" in it's title.
[1]: https://gist.github.com/bitemyapp/8739525
[2]: http://www.mkdown.com/8739525
(This seems like more of a problem with the specific gist rather than with your idea.)
mkdown.com/abc123?theme=light or mkdown.com/abc123/light
Ordered lists seem to be missing by the way.
Mind giving me a link to what you're looking at?
Edit: IE8, did not test with a more recent version.
https://www.google.com/search?q=markdown+gist&oq=markdown+gi...
There's nothing wrong with that, I bet you enjoyed it and now everyone has a very nice alternative.
Kudos on Mkdown.com! It’s been added to the list.²
¹ https://github.com/rhythmus/markdown-resources ² https://github.com/rhythmus/markdown-resources/blob/master/m...
gist.io/3d0b9deab6f5969c354b
http://www.mkdown.com/9382108
Also, mkdown.com fails (without www. subdomain)
re:www, it's working on my end: http://cl.ly/image/371J2a1Z2F1s. But I'll investigate.
On yours, as in parent's example, the code blocks don't even get put in a `<pre>`, which would be the minimal 'right thing' if you're not going to do syntax highlighting.
(Of course, yes, syntax highlighting code blocks within .md is pretty much going to use the same logic as handling other file types, it's true).
I guess a clear error message would be helpful, but then you would either have to rely on everyone using standard file endings, or do some pretty fancy (and unreliable) parsing to determine if it's actually Markdown.
One suggestion though: I expect my code blocks to not wrap — they’re in <pre> tags, after all. The stylesheet should have them rendered either with horizontal scrolling, or with overflow.
Compare e.g. http://gist.io/11118629 with http://www.mkdown.com/11118629
Edit: I was wrong, SeatGeek didn't go through YC. But the company is certainly well-liked around here, partly because of their open source: https://github.com/seatgeek/soulmate
[0] http://www.paulgraham.com/gfaq.html (last question)
Also, a light theme alternative would be nice.
btw, i love that sintax highlighting. good job!
http://jist.in
Great work though - I wish I saw this last week while showing markdown to others for the first time.
It allows quick & easy sharing of markdown text, and you can host your own instance if you wish.