markdown-man is a cli tool used to convert markdown files (.md) to html files (.html) and vice versa.
markdown-man converts markdown files to HTML and vice versa.
It has a preview toggle which opens the converted file in your browser.
All generated files are saved in the directory of the source file.
$ -file: sets the file to be worked On. Either HTML (.html) file or a Markdown (.md) file.
$ -s: a boolean to determine if the preview functionality should be skipped. The default value is false.
# Clone the repository
$ git clone https://github.com/TosinJs/markdown-man.git
# Install dependencies
$ cd markdown-man
$ go get ./...
# Start the application
In the root folder run:
$ go run ./src -file "path to file"
# unit tests
$ go test