How to use the ngx-md.NgxMdModule.forRoot function in ngx-md

To help you get started, we’ve selected a few ngx-md 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 ovh / lhasa / webui / src / app / app.module.ts View on Github external
TreeTableModule,
    ChartModule,
    CalendarModule,
    SpinnerModule,
    SliderModule,
    ToggleButtonModule,
    TabMenuModule,
    CarouselModule,
    TableModule,
    BlockUIModule,
    /* Cytoscape network graph */
    CytoscapeModule,
    // Local modules
    AppRoutingModule,
    ArchwizardModule,
    NgxMdModule.forRoot(),
    /**
     * store
     */
    StoreModule.forRoot({
      applications: ApplicationsStoreService.reducer,
      environments: EnvironmentsStoreService.reducer,
      graphs: GraphsStoreService.reducer,
      badges: BadgesStoreService.reducer,
      loaders: LoadersStoreService.reducer,
      helps: HelpsStoreService.reducer,
      config: ConfigStoreService.reducer,
      errors: ErrorsStoreService.reducer,
    }),
    /**
     * i18n
     */
github Wykks / ngx-mapbox-gl / projects / showcase / src / app / doc / doc.module.ts View on Github external
import { DocComponent } from './doc.component';
import 'prismjs/prism';
import 'prismjs/components/prism-typescript';

const DOC_ROUTES: Routes = [
  {
    path: '',
    component: DocComponent
  }
];

@NgModule({
  imports: [
    CommonModule,
    SharedModule,
    NgxMdModule.forRoot(),
    RouterModule.forChild(DOC_ROUTES)
  ],
  declarations: [DocComponent]
})
export class DocModule { }
github giscafer / ngx-form-builder / src / app / shared / shared.module.ts View on Github external
import { HighlightModule } from 'ngx-highlightjs';
import { NgxMdModule } from 'ngx-md';
import { SchemaFormModule } from '../../lib/schema-form.module';
import { CodeSliderComponent } from './components/code-slider/code-slider.component';

const COMPONENTS = [CodeSliderComponent];
@NgModule({
    declarations: [...COMPONENTS],
    imports: [
        CommonModule,
        FormsModule,
        NgZorroAntdModule.forRoot(),
        AceEditorModule,
        SchemaFormModule,
        HighlightModule.forRoot({ theme: 'googlecode' }),
        NgxMdModule.forRoot()
    ],
    exports: [
        CommonModule,
        FormsModule,
        NgZorroAntdModule,
        AceEditorModule,
        SchemaFormModule,
        NgxMdModule,
        ...COMPONENTS
    ]
})
export class SharedModule {
    static forRoot(): ModuleWithProviders {
        return {
            ngModule: SharedModule,
            providers: []
github aberezkin / ng2-image-upload / projects / ng2-image-upload-demo / src / app / app.module.ts View on Github external
import { AppComponent } from './app.component';
import { DemoComponent } from './demo/components/demo.component';
import { DemoModule } from './demo/demo.module';
import { ReadmeComponent } from './readme/components/readme.component';
import { ReadmeModule } from './readme/readme.module';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    DemoModule,
    ReadmeModule,
    NgxMdModule.forRoot(),
    ImageUploadModule.forRoot(),
    RouterModule.forRoot([{
      path: '',
      redirectTo: 'demo',
      pathMatch: 'prefix'
    }, {
      path: 'demo',
      component: DemoComponent
    }, {
      path: 'readme',
      component: ReadmeComponent
    }], { useHash: true })
  ],
  providers: [],
  bootstrap: [AppComponent]
})
github dimpu / ngx-md / demo / quick-start / src / app.module.ts View on Github external
@Component({
  selector: 'my-app',
  template: `
    
    ## HI
    
  `,
})
export class AppComponent {
  constructor() {
  }
}

@NgModule({
  imports: [BrowserModule, HttpClientModule, NgxMdModule.forRoot()],
  declarations: [AppComponent],
  bootstrap: [AppComponent]
})
export class AppModule {}
github freehackquest / fhq-server / fhq-web-user / src / app / app.module.ts View on Github external
imports: [
    BrowserModule,
    AppRoutingModule,
    BrowserModule,
    NgbModule,
    HttpClientModule,
    TranslationModule.forRoot(l10nConfig),
    AppRoutingModule,
    OverlayModule,
    FormsModule,
    AceModule,
    LMarkdownEditorModule,
    ReactiveFormsModule,
    BrowserAnimationsModule,
    ToastrModule.forRoot(),
    NgxMdModule.forRoot(),
    SimplemdeModule.forRoot()
  ],
  providers: [
    {
      provide: APP_BASE_HREF,
      useValue: '/'
    }, {
      provide: ACE_CONFIG,
      useValue: DEFAULT_ACE_CONFIG
    },
    NgbActiveModal
  ],
  bootstrap: [AppComponent],
  entryComponents: [
    SpinnerComponent,
    ModalDialogSignInComponent,
github giscafer / ngx-form-builder / src / app / app.module.ts View on Github external
declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    BrowserAnimationsModule,
    FormsModule,
    HttpModule,
    HttpClientModule,
    CommonModule,
    RouterModule,
    AppRoutingModule,
    NgZorroAntdModule.forRoot(),
    DndModule.forRoot(),
    LayoutModule,
    NgxMdModule.forRoot(),
    UIGridModule,
  ],
  providers: [
    { provide: NZ_I18N, useValue: zh_CN },
    StartUpService,
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }
github Sunbird-Ed / SunbirdEd-portal / src / app / client / src / app / modules / notes / notes.module.ts View on Github external
import { SharedModule } from '@sunbird/shared';
import { NgxMdModule } from 'ngx-md';
import { TimeAgoPipe } from 'time-ago-pipe';
import { NoteListComponent, InlineEditorComponent, NoteCardComponent, DeleteNoteComponent, PopupEditorComponent } from './components';
import { TelemetryModule } from '@sunbird/telemetry';
import { NgInviewModule } from 'angular-inport';

@NgModule({
  imports: [
    CommonModule,
    NotesRoutingModule,
    SuiModule,
    FormsModule,
    OrderModule,
    SharedModule,
    NgxMdModule.forRoot(),
    TelemetryModule,
    NgInviewModule
  ],
  declarations: [TimeAgoPipe, NoteListComponent, InlineEditorComponent,
    NoteCardComponent, PopupEditorComponent, DeleteNoteComponent],
  providers: [NotesService],
  exports: [NoteListComponent, PopupEditorComponent, NoteCardComponent]
})
export class NotesModule { }
github dimpu / ngx-md / src / app / app.module.ts View on Github external
import { AppRoutingModule } from './app.router.module';

@NgModule({
  declarations: [
    AppComponent,
    HomeComponent,
    TablesComponent,
    PathComponent,
    VariableBindComponent,
    TodoComponent,
  ],
  imports: [
    HttpClientModule,
    BrowserModule,
    FormsModule,
    NgxMdModule.forRoot(),
    AppRoutingModule,
  ],
  bootstrap: [AppComponent],
})
export class AppModule {}
github dockstore / dockstore-ui2 / src / app / containers / containers.module.ts View on Github external
import { ContainerModule } from '../shared/modules/container.module';
import { HeaderModule } from '../shared/modules/header.module';
import { ListContainersModule } from '../shared/modules/list-containers.module';
import { SelectModule } from '../shared/modules/select.module';
import { ContainersComponent } from './containers.component';
import { containersRouting } from './containers.routing';
import { SearchContainersComponent } from './search/search.component';

@NgModule({
  declarations: [
    ContainersComponent,
    SearchContainersComponent
  ],
  imports: [
    CommonModule,
    NgxMdModule.forRoot(),
    HeaderModule,
    SelectModule,
    ListContainersModule,
    ContainerModule,
    containersRouting
  ]
})
export class ContainersModule {
}

ngx-md

[![Build Status][cirrus-ci-badge]][cirrus-ci-badge-url] [![npm][circleci-badge-url]][circleci-url] [![version][npm-badge-url]][npm-url] [![npm][license-badge-url]][license-url] [![npm][opencollective]][opencollective] [![FOSSA Status](https://app.fossa.io

MIT
Latest version published 1 month ago

Package Health Score

68 / 100
Full package analysis