17ae7bf May 20, 2018
Dimpu Aravind merge master
2 contributors

Users who have contributed to this file

@dimpu @Nikaple
56 lines (40 sloc) 887 Bytes

Getting started with angular-cli

Installing angular-cli

Important: please check angular-cli version, it should be => "1.0.0-beta.24"

Note: you can skip this part if you already have application generated by ng-cli and webpack

npm i -g angular-cli
ng new my-app
cd my-app
ng serve

Adding ngx-md

  • install ngx-md
  npm install ngx-md  --save
  • open src/app/app.module.ts and add
import { NgxMdModule } from 'ngx-md';

   imports: [NgxMdModule.forRoot(), ... ],
  • open '.angular-cli.json' and add
"styles": [
+  "../node_modules/prismjs/themes/prism-okaidia.css"

you can choose any other theme.


  • open src/app/app.component.html and add
## Markdown h2 content