https://github.com/zhaoxingyue/easymd
open markdown in browser && conversion markdown into html
https://github.com/zhaoxingyue/easymd
cli highlight html markdown
Last synced: about 1 year ago
JSON representation
open markdown in browser && conversion markdown into html
- Host: GitHub
- URL: https://github.com/zhaoxingyue/easymd
- Owner: zhaoxingyue
- License: mit
- Created: 2017-04-12T02:16:41.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2020-04-20T09:57:17.000Z (about 6 years ago)
- Last Synced: 2025-03-28T18:51:48.963Z (over 1 year ago)
- Topics: cli, highlight, html, markdown
- Language: JavaScript
- Homepage: https://easymd-test1.now.sh
- Size: 14.6 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# EASYMD
A simple cli for open markdown file
[](https://travis-ci.org/zhaoxingyue/easymd)
[](https://coveralls.io/github/zhaoxingyue/easymd?branch=master)
[](https://gitter.im/easymd/Lobby?utm_source=share-link&utm_medium=link&utm_campaign=share-link)
[](https://dependencyci.com/github/zhaoxingyue/easymd)
[](https://standardjs.com)
## Why easymd ?
- Simple cli options
- Code highlight greate
## Install
Run the following command in Terminal:
```
$ npm install -g easymd
```
**Note**: To run the preceding commands, Node.js and npm must be installed.
## Usage
After you've installed easymd, you should be able to use the easymd program.
```
$ easymd --help
Usage: easymd [options]
Options:
-h, --help output usage information
-V, --version output the version number
-f, --file create HTML file
-b, --browser open markdown in browser
Examples:
$ easymd -b index.md
$ easymd -f index.md /your/html/path/
```
The simplest use case would be opening the markdown file in the browser:
```
$ easymd -b README.md
```
On browser looks like this:

Easymd also can write html file:
```
$ easymd -f README.md
```
or
```
$ easymd -f README.md /your/output/path
```
## Running Tests & Contributing
```
$ git clone git@github.com:zhaoxingyue/easymd.git
$ npm install
$ npm test
```
Here are some important packages in the easymd ecosystem:
- [marked](https://github.com/chjj/marked) - a markdown parser and compiler.
- [highlight.js](https://github.com/isagalaev/highlight.js) - javascript syntax highlighter.