Navigation Menu

Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sethillgard committed Feb 19, 2013
1 parent 9ae6add commit 5959cf9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Expand Up @@ -12,6 +12,13 @@ Now to include any gist template just add the following anywhere in your blog po

Replace "GistID" with your gist id.

Optionally, you can specify a file to be loaded if your gist contains multiple files using the data-file attribute, like this:

<div class="gistLoad" data-id="GistID" data-file="YourFileName.extension" id="gist-GistID">Loading ....</div><br />

Example:

<div class="gistLoad" data-id="4982341" data-file="gistfile2.cs" id="gist-4982341">Loading ....</div><br />


## Development
Expand Down Expand Up @@ -39,4 +46,4 @@ That's it, now blogger will start calling your script.
## Thanks

* [Alex Conrad](http://www.alexconrad.org/2011/12/highlight-code-with-bloggers-dynamic.html)
* [kares](https://github.com/kares/script.js) for the scripts loading idea.
* [kares](https://github.com/kares/script.js) for the scripts loading idea.

0 comments on commit 5959cf9

Please sign in to comment.