Library/Tool for Generating an Embedded Code Viewer

From: Terry Brady <Terry.Brady_at_nyob>
Date: Wed, 2 May 2018 12:58:30 -0700
To: CODE4LIB_at_LISTS.CLIR.ORG
I have been using the GitPitch presentation service to embed code snippets
into a presentation.

In that service, the following code (using an extension of markdown)

+++?code=
> https://raw.githubusercontent.com/DSpace-Labs/DSpace-codenvy/master/Scripts/workspaceInit.sh
> Workspace initialization script - already run
> @[34](Before ingesting content, we need an administrator id)
> @[36-43](Data Load Script)


generates the following display which I find very useful.

   - https://gitpitch.com/DSpace-Labs/DSpace-rel-demo/webinar#/6/1

Note that if you hit the space bar, the code scrolls to the designated line
numbers referenced above.

I would actually be curious to embed a similar code viewer on a web page
(rather than in just a slide show).

Are you aware of any tools or services that are able to generate an
embedded code viewer that can reference source files from GitHub?

Thanks,

Terry

-- 
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
https://github.com/terrywbrady/info
425-298-5498 (Seattle, WA)
Received on Wed May 02 2018 - 16:00:13 EDT