Wednesday, October 17, 2012: Pagist — Turn a Gist Into a Web Page

Tomorrow I’m going to have a discrete maths test, and so there are few friends asking me several questions.

So I think, wouldn’t it be nice if there is a way to send them these mathematical equations (or few paragraph of text) in a way that is as easy as posting a Gist?

That’s why I created Pagist.

Basically, pagist lets you write some text documents in Markdown format, submit it to Gist, and alter the URL from to

Then Pagist will fetch the Gist, format the contents with Markdown, and apply Mathjax. Here’s how it looks like:

Pagist Example

The good thing is that Gists are editble, so I can just edit the Gist and when I refresh the page, I can see new content. Here’s an example of a Pagist, which is generated from this Gist.

Pagist also allows raw HTML, CSS and JavaScript. So you can make dynamic pages quickly from Pagist. See the Pagist Kitchen Sink.