Skip to content

Commit 4b2f1d7

Browse files
committed
prepare 0.0.4
1 parent c632ce4 commit 4b2f1d7

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# hackmd-to-html-cli
22

3-
![](https://img.shields.io/github/workflow/status/liao2000/hackmd-to-html-cli/CI?style=flat-square)
4-
[![NPM version](https://img.shields.io/npm/v/hackmd-to-html-cli.svg?style=flat-square)](https://www.npmjs.org/package/hackmd-to-html-cli) ![](https://img.shields.io/npm/dt/hackmd-to-html-cli?color=blue&style=flat-square)
3+
[![NPM version](https://img.shields.io/npm/v/hackmd-to-html-cli.svg?logo=npm&style=flat-square)](https://www.npmjs.org/package/hackmd-to-html-cli) ![](https://img.shields.io/github/license/liao2000/hackmd-to-html-cli?color=yellow&style=flat-square) ![](https://img.shields.io/github/workflow/status/liao2000/hackmd-to-html-cli/CI?style=flat-square) ![](https://img.shields.io/npm/dt/hackmd-to-html-cli?color=blue&style=flat-square)
4+
55

66
A simple Node.js wrapper for `markdown-it`. This tool helps to convert HackMD markdown files to HTML files.
77

@@ -88,4 +88,8 @@ $ hmd2html -s hello.md -l ./myLayout.html
8888

8989
+ Provide more template & styles
9090
+ Automatically generate HTML `<title>`
91-
+ Support more HackMD syntax
91+
+ Support more HackMD syntax
92+
+ Flow chart
93+
+ Graphviz
94+
+ Mermaid
95+
+ Abc

lib/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import commander from 'commander';
33
import path from 'path';
44
import { Convert } from './converter';
55

6-
commander.program.version('0.0.3', '-v, --version', 'output the current version');
6+
commander.program.version('0.0.4', '-v, --version', 'output the current version');
77
commander.program
88
.requiredOption('-s, --source <files_or_dirs...>', 'specify the input markdown files or directories')
99
.addOption(new commander.Option('-d, --destination <path>', 'specify the output directory').default('./output', './output'))

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hackmd-to-html-cli",
3-
"version": "0.0.3",
3+
"version": "0.0.4",
44
"description": "A cli tool converts hackmd to html",
55
"keywords": [
66
"hackmd",

0 commit comments

Comments
 (0)