0.0.1-beta.5 • Published 9 years ago
@revector/asciidoctor-panel v0.0.1-beta.5
AsciiDoctor Panel
An Angular2 component for displaying embedded AsciiDoctor content.
Installation
> npm install --save asciidoctorjs-web-repack @revector/asciidoctor-panel
Dependencies
- Angular2 Core
- AsciiDoctor Web Repack A web-packaged version of the asciidoctor project.
Use
In your main app (e.g.app.module.ts):
// import the module
import {RvAsciidoctorPanelModule} from '@revector/asciidoctor-panel';
// and register it as an import:
@NgModule({
declarations: [
AppComponent,
...
],
imports: [
RvAsciidoctorPanelModule,
...
],
entryComponents: [AppComponent],
bootstrap: [AppComponent]
})
And reference it in your component:
<md-card>
<rv-asciidoctor-panel style="white-space:normal;overflow-wrap: normal;overflow: auto" [content]="asciidoctorContent"></rv-asciidoctor-panel>
</md-card>
0.0.1-beta.5
9 years ago
0.0.1-beta.4
9 years ago
0.0.1-beta.3
9 years ago
0.0.1-beta.2
9 years ago
0.0.1-alpha.10
9 years ago
0.0.1-alpha.9
9 years ago
0.0.1-alpha.8
9 years ago
0.0.1-alpha.7
9 years ago
0.0.1-alpha.6
9 years ago
0.0.1-alpha.5
9 years ago
0.0.1-alpha.4
9 years ago