UNPKG

ng-katex-2

Version:

Angular module to write beautiful math expressions with TeX syntax boosted by KaTeX library

28 lines (26 loc) 739 B
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { KatexService } from './ng-katex.service'; import { KatexDirective } from './ng-katex.directive'; import { KatexComponent } from './ng-katex.component'; import { KatexParagraphComponent } from './ng-katex-paragraph.component'; import { KatexHtmlComponent } from './ng-katex-html.component'; @NgModule({ imports: [ CommonModule, KatexDirective, KatexComponent, KatexParagraphComponent, KatexHtmlComponent, ], providers: [ KatexService, ], exports: [ KatexDirective, KatexComponent, KatexParagraphComponent, KatexHtmlComponent, ], }) export class KatexModule { }