How to use the ngx-md.MarkdownModule.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 cipchk / nz-schema-form / src / app / app.module.ts View on Github external
path: '',
            component: LayoutComponent,
            children: [
                { path: 'example', loadChildren: './example/example.module#ExampleModule' },
                { path: 'validator', component: ValidatorComponent },
                { path: 'document', redirectTo: 'document/getting-started', pathMatch: 'full' },
                {
                    path: 'document/:id',
                    component: DocumentComponent
                }
            ]
        }
    ], environment.production ? { useHash: true, preloadingStrategy: PreloadAllModules } : { useHash: true }),
    NgZorroAntdModule.forRoot(),
    JsonSchemaModule,
    MarkdownModule.forRoot(),
    UEditorModule.forRoot({
        // **注:** 建议使用本地路径;以下为了减少 ng-alain 脚手架的包体大小引用了CDN,可能会有部分功能受影响
        // 指定ueditor.js路径目录
        path: '//apps.bdimg.com/libs/ueditor/1.4.3.1/',
        // 默认全局配置项
        options: {
            themePath: '//apps.bdimg.com/libs/ueditor/1.4.3.1/themes/'
        }
    }),
    NgxTinymceModule.forRoot({
        baseURL: '//cdn.bootcss.com/tinymce/4.7.4/'
    })
  ],
  providers: [
    StartupService,
    {
github dimpu / ngx-md / demo / temp / out-tsc / app / app.module.js View on Github external
return AppModule;
}());
AppModule = __decorate([
    NgModule({
        declarations: [
            AppComponent,
            HomeComponent,
            TablesComponent,
            PathComponent,
            VariableBindComponent,
            TodoComponent
        ],
        imports: [
            BrowserModule,
            FormsModule,
            MarkdownModule.forRoot(),
            RouterModule.forRoot([
                { path: '', component: HomeComponent },
                { path: 'home', component: HomeComponent },
                { path: 'tables', component: TablesComponent },
                { path: 'path', component: PathComponent },
                { path: 'live', component: VariableBindComponent },
                { path: 'todo', component: TodoComponent }
            ])
        ],
        bootstrap: [AppComponent]
    })
], AppModule);
export { AppModule };
//# sourceMappingURL=../../../src/app/app.module.js.map
github dimpu / ngx-md / demo / src / app / app.module.ts View on Github external
import { VariableBindComponent } from './variable-bind/variable-bind.component';
import { TodoComponent } from './todo/todo.component';

@NgModule({
  declarations: [
    AppComponent,
    HomeComponent,
    TablesComponent,
    PathComponent,
    VariableBindComponent,
    TodoComponent
  ],
  imports: [
    BrowserModule,
    FormsModule,
    MarkdownModule.forRoot(),
    RouterModule.forRoot([
           { path: '', component: HomeComponent },
           { path: 'home', component: HomeComponent },
           { path: 'tables', component: TablesComponent },
           { path: 'path', component: PathComponent },
           { path: 'live', component: VariableBindComponent },
           { path: 'todo', component: TodoComponent }


       ])
  ],
  bootstrap: [AppComponent]
})
export class AppModule {
}

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