Member Junction
    Preparing search index...

    MemberJunction Markdown Module

    A lightweight Angular module for rendering markdown content with:

    • Prism.js syntax highlighting
    • Mermaid diagram support
    • Copy-to-clipboard for code blocks
    • Collapsible heading sections
    • GitHub-style alerts
    • Heading anchor IDs

    Usage:

    import { MarkdownModule } from '@memberjunction/ng-markdown';

    @NgModule({
    imports: [MarkdownModule]
    })
    export class YourModule { }

    Then in your template:

    <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.

    Index

    Constructors

    Constructors