MemberJunction Markdown Module
A lightweight Angular module for rendering markdown content with:
Usage:
import { MarkdownModule } from '@memberjunction/ng-markdown';@NgModule({ imports: [MarkdownModule]})export class YourModule { } Copy
import { MarkdownModule } from '@memberjunction/ng-markdown';@NgModule({ imports: [MarkdownModule]})export class YourModule { }
Then in your template:
<mj-markdown [data]="markdownContent"></mj-markdown> Copy
<mj-markdown [data]="markdownContent"></mj-markdown>
Note: This module does NOT use forRoot(). Simply import it in any module where you need markdown rendering. The MarkdownService is provided at root level for efficient sharing across the application.
MemberJunction Markdown Module
A lightweight Angular module for rendering markdown content with:
Usage:
Then in your template:
Note: This module does NOT use forRoot(). Simply import it in any module where you need markdown rendering. The MarkdownService is provided at root level for efficient sharing across the application.