Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

Commit

Permalink
Update ngx-markdown@1.4.0 (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
jfcere authored and scote committed Nov 20, 2017
1 parent 9f40996 commit 5e6d50a
Show file tree
Hide file tree
Showing 12 changed files with 43 additions and 43 deletions.
2 changes: 1 addition & 1 deletion demo-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
"core-js": "^2.4.1",
"highlightjs": "^9.10.0",
"mdi": "^1.8.36",
"ng2-markdown-to-html": "^1.3.1",
"ng2-materialize": "file:../",
"ngx-malihu-scrollbar": "^1.2.1",
"ngx-markdown": "^1.4.0",
"rxjs": "^5.1.0",
"ts-helpers": "^1.1.1",
"web-animations-js": "^2.2.5",
Expand Down
4 changes: 2 additions & 2 deletions demo-app/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import { HttpModule } from '@angular/http';
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { RouterModule } from '@angular/router';
import { MarkdownToHtmlModule } from 'ng2-markdown-to-html';
import { MaterializeModule } from 'ng2-materialize';
import { MalihuScrollbarModule } from 'ngx-malihu-scrollbar';
import { MarkdownModule } from 'ngx-markdown';

import { ROUTES } from './app.routing';

Expand Down Expand Up @@ -48,7 +48,7 @@ import { ValidationModule } from './validation/validation.module';
FormsModule,
HttpModule,
MalihuScrollbarModule.forRoot(),
MarkdownToHtmlModule.forRoot(),
MarkdownModule.forRoot(),
MaterializeModule.forRoot(),
ReactiveFormsModule,
RouterModule.forRoot(ROUTES),
Expand Down
6 changes: 3 additions & 3 deletions demo-app/src/app/home/home.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
</button>
</div>

<markdown-to-html>
<markdown>
# ng2-materialize [![CircleCI status](https://circleci.com/gh/sherweb/ng2-materialize.svg?style=shield&circle-token=4f457a3c93c34ad9cdf21cbe53605dad94f21955)](https://circleci.com/gh/sherweb/ng2-materialize) [![AppVeyor status](https://ci.appveyor.com/api/projects/status/github/sherweb/ng2-materialize?branch=master&svg=true)](https://ci.appveyor.com/project/sherweb/ng2-materialize) [![NPM Version](https://img.shields.io/npm/v/ng2-materialize.svg?style=flat)](https://www.npmjs.com/package/ng2-materialize) [![License](https://img.shields.io/npm/l/ng2-materialize.svg)](https://opensource.org/licenses/Apache-2.0)
</markdown-to-html>
</markdown>

<markdown-to-html [src]="'README.md'"></markdown-to-html>
<markdown [src]="'README.md'"></markdown>
4 changes: 2 additions & 2 deletions demo-app/src/app/home/home.module.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { MarkdownToHtmlModule } from 'ng2-markdown-to-html';
import { MaterializeModule } from 'ng2-materialize';
import { MarkdownModule } from 'ngx-markdown';

import { CodeSnippetModule } from '../shared/code-snippet/code-snippet.module';
import { HomeComponent } from './home.component';
Expand All @@ -12,7 +12,7 @@ import { HomeComponent } from './home.component';
BrowserAnimationsModule,
CodeSnippetModule,
CommonModule,
MarkdownToHtmlModule.forRoot(),
MarkdownModule.forRoot(),
MaterializeModule,
],
declarations: [ HomeComponent ],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@

<div *ngIf="submitted">
<h5 class="light">Submitted form</h5>
<markdown-to-html [data]="values | json | language: 'json'"></markdown-to-html>
<markdown [data]="values | json | language: 'json'"></markdown>
</div>
</div>
<div id="html-binding" class="col s12"><markdown-to-html [src]="'app/validation/validation-binding/markdown/component.html'"></markdown-to-html></div>
<div id="code-binding" class="col s12"><markdown-to-html [src]="'app/validation/validation-binding/markdown/component.ts'"></markdown-to-html></div>
<div id="html-binding" class="col s12"><markdown [src]="'app/validation/validation-binding/markdown/component.html'"></markdown></div>
<div id="code-binding" class="col s12"><markdown [src]="'app/validation/validation-binding/markdown/component.ts'"></markdown></div>
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@

<div *ngIf="submitted">
<h5 class="light">Submitted form</h5>
<markdown-to-html [data]="values | json | language: 'json'"></markdown-to-html>
<markdown [data]="values | json | language: 'json'"></markdown>
</div>
</div>
<div id="html-form-state" class="col s12"><markdown-to-html [src]="'app/validation/validation-form-state/markdown/component.html'"></markdown-to-html></div>
<div id="code-form-state" class="col s12"><markdown-to-html [src]="'app/validation/validation-form-state/markdown/component.ts'"></markdown-to-html></div>
<div id="html-form-state" class="col s12"><markdown [src]="'app/validation/validation-form-state/markdown/component.html'"></markdown></div>
<div id="code-form-state" class="col s12"><markdown [src]="'app/validation/validation-form-state/markdown/component.ts'"></markdown></div>
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@

<div *ngIf="submitted">
<h5 class="light">Submitted form</h5>
<markdown-to-html [data]="submittedValues | json | language: 'json'"></markdown-to-html>
<markdown [data]="submittedValues | json | language: 'json'"></markdown>
</div>
</div>
<div id="html-ngmodel" class="col s12"><markdown-to-html [src]="'app/validation/validation-ngmodel/markdown/component.html'"></markdown-to-html></div>
<div id="code-ngmodel" class="col s12"><markdown-to-html [src]="'app/validation/validation-ngmodel/markdown/component.ts'"></markdown-to-html></div>
<div id="html-ngmodel" class="col s12"><markdown [src]="'app/validation/validation-ngmodel/markdown/component.html'"></markdown></div>
<div id="code-ngmodel" class="col s12"><markdown [src]="'app/validation/validation-ngmodel/markdown/component.ts'"></markdown></div>
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -272,11 +272,11 @@ <h6 class="col s12">Additionnal information</h6>

<div *ngIf="submitted">
<h5 class="light">Submitted user</h5>
<markdown-to-html [data]="user | json | language: 'json'">
</markdown-to-html>
<markdown [data]="user | json | language: 'json'">
</markdown>
</div>
</div>
<div id="html" class="col s12"><markdown-to-html [src]="'app/validation/validation-playground/markdown/component.html'"></markdown-to-html></div>
<div id="code" class="col s12"><markdown-to-html [src]="'app/validation/validation-playground/markdown/component.ts'"></markdown-to-html></div>
<div id="html" class="col s12"><markdown [src]="'app/validation/validation-playground/markdown/component.html'"></markdown></div>
<div id="code" class="col s12"><markdown [src]="'app/validation/validation-playground/markdown/component.ts'"></markdown></div>
</div>
</div>
2 changes: 1 addition & 1 deletion demo-app/src/app/validation/validation.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h5 class="light">Configuration</h5>
<p>
<code class="language-markup">ReactiveFormModule</code> should be added in component module or application module.
</p>
<markdown-to-html [src]="'app/validation/markdown/component.module.diff'"></markdown-to-html>
<markdown [src]="'app/validation/markdown/component.module.diff'"></markdown>
</div>

<div class="section">
Expand Down
4 changes: 2 additions & 2 deletions demo-app/src/app/validation/validation.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { MarkdownToHtmlModule } from 'ng2-markdown-to-html';
import { MaterializeModule } from 'ng2-materialize';
import { MarkdownModule } from 'ngx-markdown';

import { CodeSnippetModule } from '../shared/code-snippet/code-snippet.module';
import { PropertiesTableModule } from '../shared/properties-table/properties-table.module';
Expand All @@ -19,7 +19,7 @@ import { ValidationComponent } from './validation.component';
CodeSnippetModule,
CommonModule,
FormsModule,
MarkdownToHtmlModule.forChild(),
MarkdownModule.forChild(),
MaterializeModule,
PropertiesTableModule,
ReactiveFormsModule,
Expand Down
4 changes: 2 additions & 2 deletions demo-app/src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ code[class*="language-"] {
margin: 0 0.05em !important;
}

/* n2-markdown-to-html override */
/* ngx-markdown override */

markdown-to-html {
markdown {
h1 { font-size: 2.92rem; }
h2 { font-size: 2.28rem; }
h3 { font-size: 1.64rem; }
Expand Down
34 changes: 17 additions & 17 deletions demo-app/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@
resolved "https://registry.yarnpkg.com/@types/marked/-/marked-0.3.0.tgz#583c223dd33385a1dda01aaf77b0cd0411c4b524"

"@types/materialize-css@^0.100.0":
version "0.100.0"
resolved "https://registry.yarnpkg.com/@types/materialize-css/-/materialize-css-0.100.0.tgz#2b311b2ca273d6fd689609ab8e8d932966f8f45c"
version "0.100.1"
resolved "https://registry.yarnpkg.com/@types/materialize-css/-/materialize-css-0.100.1.tgz#9ab5b1faba5ba28b6c39ab94c31f77f5fd2f7b68"
dependencies:
"@types/jquery" "*"
"@types/pickadate" "*"
Expand All @@ -195,8 +195,8 @@
"@types/jquery" "*"

"@types/prismjs@^1.6.0":
version "1.6.2"
resolved "https://registry.yarnpkg.com/@types/prismjs/-/prismjs-1.6.2.tgz#0d49b1c8a78a4d129cfd55360b06172a64139de0"
version "1.6.5"
resolved "https://registry.yarnpkg.com/@types/prismjs/-/prismjs-1.6.5.tgz#e222615538ea2df248c72512e1faf346af2640d6"

"@types/q@^0.0.32":
version "0.0.32"
Expand Down Expand Up @@ -3682,15 +3682,6 @@ negotiator@0.6.1:
version "0.6.1"
resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.1.tgz#2b327184e8992101177b28563fb5e7102acd0ca9"

ng2-markdown-to-html@^1.3.1:
version "1.3.1"
resolved "https://registry.yarnpkg.com/ng2-markdown-to-html/-/ng2-markdown-to-html-1.3.1.tgz#d60791dea1a1ab273f1fe76f2346e56dabd17afe"
dependencies:
"@types/marked" "0.3.0"
"@types/prismjs" "^1.6.0"
marked "^0.3.6"
prismjs "^1.6.0"

"ng2-materialize@file:..":
version "1.6.0"
dependencies:
Expand All @@ -3706,6 +3697,15 @@ ngx-malihu-scrollbar@^1.2.1:
jquery "^3.0.0"
malihu-custom-scrollbar-plugin "^3.1.5"

ngx-markdown@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/ngx-markdown/-/ngx-markdown-1.4.0.tgz#1ac11602a52abb7998685376949cfd7065b3de82"
dependencies:
"@types/marked" "0.3.0"
"@types/prismjs" "^1.6.0"
marked "^0.3.6"
prismjs "^1.6.0"

no-case@^2.2.0:
version "2.3.1"
resolved "https://registry.yarnpkg.com/no-case/-/no-case-2.3.1.tgz#7aeba1c73a52184265554b7dc03baf720df80081"
Expand Down Expand Up @@ -4495,8 +4495,8 @@ pretty-error@^2.0.2:
utila "~0.4"

prismjs@^1.6.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.6.0.tgz#118d95fb7a66dba2272e343b345f5236659db365"
version "1.8.3"
resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.8.3.tgz#4a3d140be5f2614a8987ca2330733a40d8ad207b"
optionalDependencies:
clipboard "^1.5.5"

Expand Down Expand Up @@ -5568,8 +5568,8 @@ timers-browserify@^2.0.2:
setimmediate "^1.0.4"

tiny-emitter@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/tiny-emitter/-/tiny-emitter-2.0.0.tgz#bad327adb1804b42a231afa741532bd884cd09ad"
version "2.0.2"
resolved "https://registry.yarnpkg.com/tiny-emitter/-/tiny-emitter-2.0.2.tgz#82d27468aca5ade8e5fd1e6d22b57dd43ebdfb7c"

tmp@0.0.24:
version "0.0.24"
Expand Down

0 comments on commit 5e6d50a

Please sign in to comment.