You're viewing old version number 4. - Current version

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:

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
110 words - 815 chars
created on
updated on - #
source - versions

Related articles
Add h-entry microformat - Oct 07, 2013
Resolved - Remember which page last visited after leaving site - Jul 22, 2013
Resolved - Add calc command to Junco code - Apr 11, 2014
Resolved - Change frontpage command to draft - Jun 27, 2013
Resolved - Add reading time to a post - Oct 08, 2013
more >>



A     A     A     A     A

© 2013-2017 JotHut - Online notebook

current date: Jan 12, 2025 - 2:12 p.m. EST