Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Added the new Syntax for File in gist
  • Loading branch information
rahulrsingh09 committed Aug 24, 2017
1 parent c523676 commit 01ceafa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ import { NgxGistModule } from 'ngx-gist/dist/ngx-gist.module';
```html
<ngx-gist [gistId]="'{username}/{gistId}'"></ngx-gist>
```
Updated Support For Particular File in a gist
```html
<ngx-gist [gistId]="'{username}/{gistId}'" [file] = "'<name of the file in gist>'"></ngx-gist>
```
the file parameter is a optional paramater

## Motivation
This project was initiated after a search for an Angular 4 component of its kind returned no results.
Expand Down

0 comments on commit 01ceafa

Please sign in to comment.