You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

angular2-markdown

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular2-markdown

Source @ [https://github.com/dimpu/angular2-markdown]()

1.1.1
Source
npmnpm
Version published
Weekly downloads
133
-40.36%
Maintainers
1
Weekly downloads
 
Created
Source

Angular 2 Markdown

Source @ https://github.com/dimpu/angular2-markdown

##setup

    npm i  angular2-markdown    --save

##How to use it

app.module.js

import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';

import {MarkdownModule} from 'angular2-markdown';
import {AppComponent} from '../src/app.component';

@NgModule({
  imports: [
    BrowserModule,
    MarkdownModule,
  ],
  declarations: [DemoCoAppAppComponentComponentmponent],
  bootstrap: [AppComponent]
})

app.component.html

 <div Markdown>
    ### your markdown code
 </div>

exmaple

You can found the working example inside the src/app/demo directory.

git clone https://github.com/dimpu/angular2-markdown.git

npm i

ng serve

now you should see working example at http://localhost:4200

FAQs

Package last updated on 06 Oct 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts