0.0.1-beta.5 • Published 7 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
7 years ago
0.0.1-beta.4
7 years ago
0.0.1-beta.3
7 years ago
0.0.1-beta.2
7 years ago
0.0.1-alpha.10
7 years ago
0.0.1-alpha.9
7 years ago
0.0.1-alpha.8
7 years ago
0.0.1-alpha.7
7 years ago
0.0.1-alpha.6
7 years ago
0.0.1-alpha.5
8 years ago
0.0.1-alpha.4
8 years ago