How to use the ngx-markdown.MarkdownModule.forChild function in ngx-markdown

To help you get started, we’ve selected a few ngx-markdown examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github harmonyharmo / toronto.university / src / app / content / content.module.ts View on Github external
import { ReferralComponent } from './referral/referral.component';
import { JoinComponent } from './join/join.component';
import { GuideComponent } from './guide/guide.component';
import { ExamComponent } from './exam/exam.component';
import { NotfoundComponent } from './notfound/notfound.component';
import { NotesComponent } from './notes/notes.component';
import { TeamComponent } from './team/team.component';
import { WikiComponent } from './wiki/wiki.component';

@NgModule({
  imports: [
    CommonModule,
    AppRoutingModule,
    HomeModule,
    ContactModule,
    MarkdownModule.forChild(),
    SharedModule,
    // AngularFireModule.initializeApp({ databaseURL: 'https://toronto-university.firebaseio.com/'}),
    // AngularFireDatabaseModule
  ],
  declarations: [
    ContentComponent,
    AboutComponent,
    ReferralComponent,
    JoinComponent,
    GuideComponent,
    ExamComponent,
    NotfoundComponent,
    NotesComponent,
    TeamComponent,
    WikiComponent],
  exports: [ContentComponent]
github SAP / fundamental-ngx / apps / docs / src / app / documentation / shared-documentation.module.ts View on Github external
ImportComponent,
        DirectionalityComponent,
        ComponentExampleComponent,
        ExampleBackgroundComponent,
        DocsSectionTitleComponent,
        SearchPipe,
        ToolbarComponent,
        SectionsToolbarComponent,
        HeaderTabsComponent,
        ApiComponent
    ],

    imports: [
        FundamentalNgxCoreModule,
        FundamentalNgxPlatformModule,
        MarkdownModule.forChild(),
        CommonModule,
        FormsModule,
        ReactiveFormsModule,
        HttpClientModule,
        CdkTableModule,
        DragDropModule,
        SchemaModule.forRoot(COMPONENT_SCHEMAS),
        RouterModule
    ],
    providers: [CopyService, ApiDocsService],
    exports: [
        FundamentalNgxCoreModule,
        FundamentalNgxPlatformModule,
        PlayGroundComponent,
        CodeExampleComponent,
        HeaderComponent,
github angular-material-extensions / link-preview / demo / src / app / getting-started / getting-started.module.ts View on Github external
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { GettingStartedComponent } from './getting-started.component';
import { GettingStartedRoutingModule } from './getting-started-routing.module';
import {MarkdownModule} from 'ngx-markdown';
import {AppSharedModule} from '../shared';

@NgModule({
  imports: [
    CommonModule,
    MarkdownModule.forChild(),
    GettingStartedRoutingModule,
    AppSharedModule
  ],
  declarations: [GettingStartedComponent],
})
export class GettingStartedModule { }
github SAP / fundamental-ngx / apps / docs / src / app / platform / platform-documentation.module.ts View on Github external
PlatformActionbarWithPositiveNegativeActionsExampleComponent,
        PlatformMenuDocsComponent,
        PlatformMenuHeaderComponent,
        PlatformMenuBasicExampleComponent,
        PlatformMenuGroupExampleComponent,
        PlatformMenuSeparatorExampleComponent,
        PlatformMenuIconsExampleComponent,
        PlatformMenuComplexExampleComponent,
        PlatformMenuClickCloseExampleComponent,

        NewComponentComponent
    ],
    imports: [
        SharedDocumentationModule,
        SchemaModule.forRoot(PLATFORM_COMPONENT_SCHEMAS),
        MarkdownModule.forChild(),
        RouterModule.forChild(ROUTES)
    ],
    providers: [{ provide: 'CURRENT_LIB', useValue: 'platform' }]
})
export class PlatformDocumentationModule {}
github angular-material-extensions / password-strength / demo / src / app / home / home.module.ts View on Github external
import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';

import {HomeRoutingModule} from './home-routing.module';
import {HomeComponent} from './home.component';
import {AppSharedModule} from '../shared';
import {MatPasswordStrengthModule} from '@angular-material-extensions/password-strength';
import {MarkdownModule} from 'ngx-markdown';
import {MatJumbotronModule} from '@angular-material-extensions/jumbotron';

@NgModule({
  imports: [
    CommonModule,
    HomeRoutingModule,
    AppSharedModule,
    MarkdownModule.forChild(),
    MatJumbotronModule,
    MatPasswordStrengthModule
  ],
  declarations: [HomeComponent],
})
export class HomeModule {
}
github AnthonyNahas / ngx-animated-gradient / demo / src / app / home / home.module.ts View on Github external
import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {NgxAnimatedGradientModule} from 'ngx-animated-gradient';

import {HomeRoutingModule} from './home-routing.module';
import {HomeComponent} from './home.component';
import {MarkdownModule} from 'ngx-markdown';

@NgModule({
  imports: [
    CommonModule,
    NgxAnimatedGradientModule,
    MarkdownModule.forChild(),
    HomeRoutingModule,
  ],
  declarations: [HomeComponent],
})
export class HomeModule {
}
github scottbot95 / RoR2ModManager / src / app / main / package-selection / package-selection.module.ts View on Github external
import { ChangesTableComponent } from './changes-table/changes-table.component';
import { ScrollToModule } from '@nicky-lenaers/ngx-scroll-to';

@NgModule({
  declarations: [
    PackageTableComponent,
    PackagesPageComponent,
    PackageDetailsComponent,
    StepOneComponent,
    StepTwoComponent,
    StepThreeComponent,
    ChangesTableComponent
  ],
  imports: [
    SharedModule,
    MarkdownModule.forChild(),
    MatSortModule,
    MatPaginatorModule,
    MatStepperModule,
    DragDropModule
  ]
})
export class PackageSelectionModule {}
github CATcher-org / CATcher / src / app / phase-team-response / phase-team-response.module.ts View on Github external
import { CommentEditorModule } from '../shared/comment-editor/comment-editor.module';
import { MarkdownModule } from 'ngx-markdown';
import { IssuesPendingComponent } from './issues-pending/issues-pending.component';
import { IssuesRespondedComponent } from './issues-responded/issues-responded.component';
import { IssuesFaultyComponent } from './issues-faulty/issues-faulty.component';
import { ViewIssueModule } from '../shared/view-issue/view-issue.module';
import { IssueTablesModule } from '../shared/issue-tables/issue-tables.module';

@NgModule({
  imports: [
    PhaseTeamResponseRoutingModule,
    SharedModule,
    IssueComponentsModule,
    CommentEditorModule,
    ViewIssueModule,
    MarkdownModule.forChild(),
    IssueTablesModule,
  ],
  declarations: [
    PhaseTeamResponseComponent,
    IssueComponent,
    IssuesPendingComponent,
    IssuesRespondedComponent,
    IssuesFaultyComponent,
  ],
})
export class PhaseTeamResponseModule {}
github SAP / fundamental-ngx / apps / docs / src / app / core / core-documentation.module.ts View on Github external
NotificationContentComponent,
        DatePickerComplexI18nExampleComponent,
        DatetimePickerComplexI18nExampleComponent,
        PopoverDropdownComponent
    ],

    entryComponents: [
        ModalContentComponent,
        ModalInModalComponent,
        ModalInModalSecondComponent,
        AlertContentComponent,
        NotificationContentComponent
    ],
    imports: [
        SharedDocumentationModule,
        MarkdownModule.forChild(),
        RouterModule.forChild(ROUTES)
    ],
    providers: [
        { provide: 'CURRENT_LIB', useValue: 'core' }
    ]
})
export class CoreDocumentationModule {
}
github angular-material-extensions / link-preview / demo / src / app / shared / shared.module.ts View on Github external
import {RouterModule} from '@angular/router';
import {NgModule} from '@angular/core';
import {NgbCollapseModule} from '@ng-bootstrap/ng-bootstrap';

import {HeaderComponent} from './header/header.component';
import {FooterComponent} from './footer/footer.component';
import {ContentWrapperComponent} from './content-wrapper/content-wrapper.component';
import {FlexLayoutModule} from '@angular/flex-layout';
import {MatCardModule, MatInputModule} from '@angular/material';
import {MarkdownModule} from 'ngx-markdown';

@NgModule({
  imports: [RouterModule,
    NgbCollapseModule.forRoot(),
    MarkdownModule.forChild(),
    FlexLayoutModule,
    MatInputModule,
    MatCardModule
  ],
  exports: [
    HeaderComponent,
    FooterComponent,
    ContentWrapperComponent,
    FlexLayoutModule,
    MarkdownModule,
    MatInputModule,
    MatCardModule
  ],
  declarations: [HeaderComponent, FooterComponent, ContentWrapperComponent],
  providers: [],
})

ngx-markdown

Angular library that uses marked to parse markdown to html combined with Prism.js for synthax highlights

MIT
Latest version published 1 month ago

Package Health Score

83 / 100
Full package analysis