0.1.14 • Published 5 years ago

@lwrly/markdown v0.1.14

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

Markdown

A simple Angular component that allows for quick editing and previewing of markdown files.

Install

With NPM:

npm i @lwrly/markdown

With Yarn:

Not available (yet).

Configuring

In your app.module.ts:

...
  imports: [
    BrowserModule,
    AppRoutingModule,
    // ...other stuff,
    MarkdownModule
  ],
...

In your component file:

<markdown></markdown>

Additionally, the following properties are available to the component:

PropertyTypeDescription
rowsnumberThe number of rows to show in the text box.
placeholderstringCustom message to place inside editor textarea as a preview. Default is # We <3 markdown!
markdownOutputChangedEventEmitterEmits a compiled markdown string when text is entered into the editor.

Bugs/Contributing

Open an issue!

0.1.14

5 years ago

0.1.13

5 years ago

0.1.12

5 years ago

0.1.11

5 years ago

0.1.10

5 years ago

0.1.9

5 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.2

5 years ago

0.1.3

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.1

5 years ago