Resolved - Add embed github code

update 24sep2013: applies to gist code. post: http://stackoverflow.com/questions/14714342/how-to-embed-a-file-gist-in-an-html-file

Sample gist embed code:
<script src="https://gist.github.com/adactio/6575229.js"></script>

July 2008 github blog post.

update 24sep2013: enabled the embed of gist code snippets. the gist page provides a the HTML to embed a code snippet. the HTML is surrounded by script tags. for use with junco/jothut, copy only the part of the url that contains the gist/github's username and the id of the gist.

For the above example, it would be:
g ist=adactio/6575229.js

which produces:


I think this is possible.

Embed code with syntax highlighting that resides at github.

See example of usage at:

http://adactio.com/journal/6495/

If this is not what I'm thinking, then ignore it.

#resolved
#junco

From JR's : articles
112 words - 839 chars
created on
updated on - #
source - versions

Related articles
Resolved - Fix problem of not being able to save an old version - Sep 05, 2013
JotHut Editing How-To - Oct 23, 2013
Resolved - Fix configuration error on microblog post - Jun 27, 2013
Resolved - Experiment with fonts and CSS - Jun 27, 2013
Create a sessionid table - Aug 07, 2013
more >>



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: May 5, 2024 - 12:07 a.m. EDT