7.1.0 • Published 3 years ago

markdown-tip v7.1.0

Weekly downloads
78
License
MIT
Repository
github
Last release
3 years ago

markdown-tip

Dependency Status devDependency Status Build Status: Linux Build Status: Windows npm version Downloads type-coverage

A markdown tip component.

features

  • vuejs component
  • reactjs component
  • angular component
  • multiple-language

link css

<link rel="stylesheet" href="./node_modules/markdown-tip/dist/markdown-tip.css" />

vuejs component

gzip size

npm i markdown-tip-vue

import "markdown-tip-vue";

or

<script src="./node_modules/vue/dist/vue.min.js"></script>
<script src="./node_modules/vue-class-component/dist/vue-class-component.min.js"></script>
<script src="./node_modules/markdown-tip-vue/dist/markdown-tip-vue.min.js"></script>
<markdown-tip></markdown-tip>

the online demo: https://plantain-00.github.io/markdown-tip/packages/vue/demo

reactjs component

gzip size

import { MarkdownTip } from "markdown-tip-react";

or

<script src="./node_modules/react/umd/react.production.min.js"></script>
<script src="./node_modules/react-dom/umd/react-dom.production.min.js"></script>
<script src="./node_modules/markdown-tip-react/dist/markdown-tip-react.min.js"></script>
<MarkdownTip>
</MarkdownTip>

the online demo: https://plantain-00.github.io/markdown-tip/packages/react/demo

angular component

import { MarkdownTipModule } from "markdown-tip-angular";

@NgModule({
    imports: [BrowserModule, FormsModule, MarkdownTipModule],
    declarations: [MainComponent],
    bootstrap: [MainComponent],
})
class MainModule { }
<markdown-tip>
</markdown-tip>

the online demo: https://plantain-00.github.io/markdown-tip/packages/angular/demo/jit

the AOT online demo: https://plantain-00.github.io/markdown-tip/packages/angular/demo/aot

properties and events of the component

nametypedescription
localeLocale?locale object

change logs

# v5
npm i markdown-tip

# v6
npm i markdown-tip-vue
npm i markdown-tip-react
npm i markdown-tip-angular
// v5
import "markdown-tip/vue";
import { MarkdownTip } from "markdown-tip/react";
import { MarkdownTipModule } from "markdown-tip/angular";

// v6
import "markdown-tip-vue";
import { MarkdownTip } from "markdown-tip-react";
import { MarkdownTipModule } from "markdown-tip-angular";
// v5
<link rel="stylesheet" href="./node_modules/markdown-tip/markdown-tip.css" />

// v6
<link rel="stylesheet" href="./node_modules/markdown-tip/dist/markdown-tip.css" />
// v4 angular AOT:
import { MarkdownTipModule } from "markdown-tip/angular";

// v5 angular AOT:
import { MarkdownTipModule } from "markdown-tip/aot/angular";
// v4
import "markdown-tip/vue";
import { MarkdownTip } from "markdown-tip/react";
import { MarkdownTipComponent } from "markdown-tip/angular";

// v3
import "markdown-tip/dist/vue";
import { MarkdownTip } from "markdown-tip/dist/react";
import { MarkdownTipComponent } from "markdown-tip/dist/angular";
// v3
locale is an object that can be imported dynamicly

// v2
locale is a string
// v1
<link rel="stylesheet" href="./node_modules/markdown-tip/dist/index.css" />

// v2
<link rel="stylesheet" href="./node_modules/markdown-tip/dist/markdown-tip.css" />
7.1.0

3 years ago

8.0.0

3 years ago

7.0.2

4 years ago

7.0.0

4 years ago

6.5.1

4 years ago

6.4.1

6 years ago

6.3.0

6 years ago

6.2.0

6 years ago

6.1.1

6 years ago

6.0.1

6 years ago

6.0.0

6 years ago

5.0.4

6 years ago

5.0.3

6 years ago

5.0.2

6 years ago

5.0.1

6 years ago

5.0.0

7 years ago

4.1.0

7 years ago

4.0.0

7 years ago

3.0.2

7 years ago

3.0.1

7 years ago

3.0.0

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.0.0

7 years ago