Install (Angular CLI project)

Step 1: Add module to project through npm

npm install ng-realmark --save

Step 2: Reference in main NgModule

import { RealMarkModule } from "ng-realmark/ng-realmark";

@NgModule({
  imports: [ 
      …
    RealMarkModule.forRoot({
        flavor: "github",  // or original or vanilla
        headerLinks: true
    }),]

Step 3: Add stylesheet to angular.cli

"styles": [
  ...
    "../node_modules/ng-realmark/realmark.css"
  ...
],