Commit 1be543a7 authored by Vincent Ogloblinsky's avatar Vincent Ogloblinsky
Browse files

feat(app): bump dependency ngx-mardown

parent 91f0aba7
Loading
Loading
Loading
Loading
+705 −72

File changed.

Preview size limit exceeded, changes collapsed.

+2 −2
Original line number Diff line number Diff line
@@ -20,9 +20,9 @@
        "@angular/router": "16.2.12",
        "@ng-bootstrap/ng-bootstrap": "15.1.2",
        "boosted": "5.3.3",
        "marked": "^4.3.0",
        "marked": "^9.0.0",
        "ng-process-env": "^16.0.6",
        "ngx-markdown": "^16.0.0",
        "ngx-markdown": "^17.0.0",
        "ngx-matomo": "2.0.0",
        "rxjs": "7.8.1",
        "tslib": "^2.3.0",
+48 −54
Original line number Diff line number Diff line
import { BrowserModule } from "@angular/platform-browser";
import { NgModule, SecurityContext } from "@angular/core";
import { HttpClientModule } from "@angular/common/http";
import { FormsModule } from "@angular/forms";
import { BrowserModule } from '@angular/platform-browser';
import { NgModule, SecurityContext } from '@angular/core';
import { HttpClientModule } from '@angular/common/http';
import { FormsModule } from '@angular/forms';

import { MarkdownModule, MarkedOptions, MarkedRenderer } from 'ngx-markdown';
// import {MatomoModule} from 'ngx-matomo';

import { AppComponent } from "./app.component";
import { KickerComponent } from "./kicker/kicker.component";
import { GitlabCiComponent } from "./gitlab-ci/gitlab-ci.component";
import { TemplatesSectionComponent } from "./templates-section/templates-section.component";
import { StepbarComponent } from "./stepbar/stepbar.component";
import { VariableEditorComponent } from "./variable-editor/variable-editor.component";
import { OptionsBoxComponent } from "./options-box/options-box.component";
import { NgbModule } from "@ng-bootstrap/ng-bootstrap";
import { OptionsFormComponent } from "./options-form/options-form.component";
import { AppComponent } from './app.component';
import { KickerComponent } from './kicker/kicker.component';
import { GitlabCiComponent } from './gitlab-ci/gitlab-ci.component';
import { TemplatesSectionComponent } from './templates-section/templates-section.component';
import { StepbarComponent } from './stepbar/stepbar.component';
import { VariableEditorComponent } from './variable-editor/variable-editor.component';
import { OptionsBoxComponent } from './options-box/options-box.component';
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
import { OptionsFormComponent } from './options-form/options-form.component';

// Override `MarkedOptions` renderer to open in a new tab for links
export function markedOptionsFactory(): MarkedOptions {
@@ -31,8 +31,6 @@ export function markedOptionsFactory(): MarkedOptions {
        gfm: true,
        breaks: false,
        pedantic: false,
    smartLists: true,
    smartypants: false,
    };
}

@@ -53,10 +51,6 @@ export function markedOptionsFactory(): MarkedOptions {
        FormsModule,
        MarkdownModule.forRoot({
            sanitize: SecurityContext.NONE,
      markedOptions: {
        provide: MarkedOptions,
        useFactory: markedOptionsFactory,
      },
        }),
        // MatomoModule,
        NgbModule,