Skip to content

Commit 84f27e9

Browse files
committed
Update Usage
1 parent c76248d commit 84f27e9

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,6 @@ For example, mdline convert [a markdown file](packages/mdline-parser/test/snapsh
99
> mdline timeline: <https://mdline.netlify.com/>
1010
> [ECMAScript - Wikipedia](https://en.wikipedia.org/wiki/ECMAScript)
1111
12-
## Install
13-
14-
Install with [npm](https://www.npmjs.com/):
15-
16-
npm install mdline
1712

1813
## Mdline Format
1914

@@ -53,8 +48,14 @@ You can also live demo on <https://mdline.netlify.com/>.
5348

5449
## Usage
5550

51+
Install with [npm](https://www.npmjs.com/):
52+
53+
npm install mdline -g
54+
5655
Convert mdline format text to html.
5756

57+
mdline ./timeline.md -o timeline.html
58+
# or
5859
npx mdline ./timeline.md -o timeline.html
5960

6061
For more details, see [mdline package](./packages/mdline).

0 commit comments

Comments
 (0)