Socket
Book a DemoInstallSign in
Socket

angular-gist-embed

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-gist-embed

[![Build Status](https://secure.travis-ci.org/pasupulaphani/angular-gist-embed.png?branch=master)](http://travis-ci.org/pasupulaphani/angular-gist-embed) [![npm version](http://img.shields.io/npm/v/angular-gist-embed.svg)](https://npmjs.org/package/angula

0.0.6
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

Build Status npm version bower version Code Climate Test Coverage

Angular Gist Embed

Demo

Check it out

Getting Started

Install the library through bower or npm.

bower install angular-gist-embed

Add it to your app dependency

angular.module('myModule',['gist-embed'])

That's it

Usage

Variants of usage: http://blairvanderhoof.com

How it works

This loads blairvanderhoof gist-embed library asynchronously to your page.

This depends on jquery library.

It just works when you include <code data-gist-id="5457595"></code> in your html/templates/bindHtml

If you need to recompile binded html, add directive as attribute compile-gist-embed to the element.

<div compile-gist-embed ng-bind-html="post.body"></div>

Examples

See http://blairvanderhoof.com/gist-embed/ for all possible ways to use gist-embed:

  • Including a single gist
  • Including individual files from a gist
  • Including specific line numbers from a gist
  • Removing all line numbers from a gist
  • Removing the footer from a gist
  • Highlight lines from a gist

Contributing

  • Fork it
  • Create your feature branch (git checkout -b my-new-feature)
  • Commit your changes (git commit -am 'Add some feature')
  • Push to the branch (git push origin my-new-feature)
  • Create new Pull Request

Locations

Keywords

gist-embed

FAQs

Package last updated on 12 Nov 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.