|
16 | 16 | [](https://www.npmjs.com/@proangular/ngx-gist)
|
17 | 17 | [](https://www.npmjs.com/@proangular/ngx-gist)
|
18 | 18 | [](https://bundlephobia.com/result?p=ProAngular/ngx-gist)
|
| 19 | +[](https://www.ProAngular.com/demos/ngx-gist) |
19 | 20 | [](https://www.proangular.com)
|
20 | 21 | [](https://gitter.im/ProAngular/community)
|
21 | 22 | [](https://discord.com/channels/1003103094588055552)
|
|
24 | 25 | [](https://github.com/ProAngular/ngx-gist/actions/workflows/on-merge-main-deploy-gpr.yml)
|
25 | 26 | [](https://github.com/ProAngular/ngx-gist/actions/workflows/on-merge-main-deploy-npmjs.yml)
|
26 | 27 |
|
27 |
| -<!-- |
28 |
| -[]() |
29 |
| -[]() |
30 |
| ---> |
31 |
| - |
32 | 28 | ## Table of Contents
|
33 | 29 |
|
34 | 30 | - [Information](#information)
|
@@ -58,7 +54,7 @@ More info in the following links:
|
58 | 54 |
|
59 | 55 | ## Description
|
60 | 56 |
|
61 |
| -Behold, this package contains an Angular Material and HighlighJs styled element which displays your GitHub gists in a conveniant, easy to view interface. Don't have a gist? No problem, display your own code snippets by just passing in the same model! All files from the remote/local gist are displayed in separate tabs for users to easily navigate. Many optional features and themes are available. |
| 57 | +Behold, this package contains an Angular Material and HighlighJs styled element which displays your GitHub gists in a conveniant, easy to view interface. Don't have a gist? No problem, display your own code snippets by just passing in a direct model (`NgxGist.create({ ... })`)! All files from the remote/local gist are displayed in separate tabs for users to easily navigate. Many optional features and themes are available. |
62 | 58 |
|
63 | 59 | GitHub gists can be created here: https://gist.github.com/
|
64 | 60 |
|
|
72 | 68 | <img src="src/assets/images/demo-gist.gif" />
|
73 | 69 | </p>
|
74 | 70 |
|
| 71 | +Live demo here: [https://www.ProAngular.com/demos/ngx-gist](https://www.ProAngular.com/demos/ngx-gist) |
| 72 | + |
75 | 73 | <a name="installation"/>
|
76 | 74 |
|
77 | 75 | ## Installation
|
@@ -213,7 +211,7 @@ You can also display any number of specific files by name.
|
213 | 211 |
|
214 | 212 | ### Displaying a basic code snippet (without a remote gist)
|
215 | 213 |
|
216 |
| -These are not fetched from GitHub and are brought in elsewhere from your application (seperate HTTP request, or statically for example). With this method you can display code snippets without having to create a remote gist. Also, please notice here that no "Open Gist on GitHub" link will display as well. |
| 214 | +These are not fetched from GitHub and are brought in elsewhere from your application (seperate HTTP request, or statically for example). With this method you can display code snippets without having to create a remote gist. You can easily create a new code snippet/gist object using `NgxGist.create({ ... })`. Note: no "Open Gist on GitHub" link will display. |
217 | 215 | ```html
|
218 | 216 | <ngx-gist [gist]="localGistObject"></ngx-gist>
|
219 | 217 | ```
|
|
0 commit comments