UNPKG

ngx-markdown

Version:

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

11 lines (10 loc) 391 B
import { ModuleWithProviders, Provider } from '@angular/core'; export interface MarkdownModuleConfig { loader?: Provider; markedOptions?: Provider; } export declare const initialMarkedOptions: Provider; export declare class MarkdownModule { static forRoot(markdownModuleConfig?: MarkdownModuleConfig): ModuleWithProviders; static forChild(): ModuleWithProviders; }