idan / gistio

A gist-backed pretty display for markdown.
https://gist.io
MIT License
485 stars 41 forks source link

revisions don't work #11

Closed tekknolagi closed 12 years ago

tekknolagi commented 12 years ago

Shows the first version only. Also, ## doesn't work. See https://gist.github.com/3140015 and http://gist.io/3140015

ethnt commented 12 years ago

+1 on revisions not working.

As for your second problem with headers, you need to have a space after the hashes (##). So, your file should be like this:

##h2 header

 * bullet list
 * more elements

test

- This should work
idan commented 12 years ago

I think you might just be seeing caching in effect. Gists are cached for one minute. If you peek at the HTTP response headers for http://gist.io/gist-id/content you'll see a header "X-Expire-TTL-Seconds" (lame, I know). Tells you how long your cache has to live.

tekknolagi commented 12 years ago

Oh you're right.

On Wed, Jul 18, 2012 at 6:03 PM, Idan Gazit < reply@reply.github.com

wrote:

I think you might just be seeing caching in effect. Gists are cached for one minute. If you peek at the HTTP response headers for http://gist.io/gist-id/content you'll see a header "X-Expire-TTL-Seconds" (lame, I know). Tells you how long your cache has to live.


Reply to this email directly or view it on GitHub: https://github.com/idan/gistio/issues/11#issuecomment-7087205

Bitcoin: 1LoS14vVcJApd3Ku66S11DyhVsx1AmPjGR