Skip to content

Instantly share code, notes, and snippets.

@x3ro
Last active December 21, 2015 07:58
Show Gist options
  • Save x3ro/6274616 to your computer and use it in GitHub Desktop.
Save x3ro/6274616 to your computer and use it in GitHub Desktop.
draft.sx
Hello visitor. This is a fork of [@idan](https://github.com/idan)'s [gist.io](http://gist.io) project, adding a couple new features and fixing some bugs that have not been touched for a while. Idan intends to keep on working on the original gist.io, for which, at some point, he wants to charge a bit of money in order to even out the server costs ([source](https://github.com/idan/gistio/issues/55#issuecomment-22453283)), but he's currently unclear when that will be. At least until then, I will work on my own improvements, which might some day make it back into upstream :)
# Features added
## Callouts
> You can now use callouts, which are great to draw attention to specific, important sections of your text:
This is a callout, and it comes in three exciting colors. This one is `info`.
{: .callout .info}
**Danger!**
{: .callout .danger}
And warning. The callout style has been copied from Twitter Bootstrap.
{: .callout .warning}
## Embed gists
Embed a gist by using this syntax: `<gist>anonymous/95db0035063a2203be91</gist>`, where 12345 is the gist's id. For example, the source for this gist is the following:
<gist>x3ro/6274616</gist>
# Issues fixed
This fork fixes a couple of issues of the main gist.io: [#2](https://github.com/idan/gistio/issues/2) and [#20](https://github.com/idan/gistio/issues/20), [#17](https://github.com/idan/gistio/issues/17).
# To Do
* Fonts. I'm not much of a designer, so I'd welcome any suggestions when it comes to which fonts to use. Preferably, the fonts should be available in the [Google Font Directory](http://www.google.com/fonts).
* Heading sizes and general margins are currently not very good.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment