Govert is a Command Line Interface (CLI) application for converting Markdown to HTML with Concurrent Batch Conversion and Live Preview.
To use Govert, follow these steps:
-
Clone the repository to your local machine:
git clone https://github.com/abdealijaroli/govert.git
-
Navigate to the project directory:
cd govert
-
Build the binary:
go build -o bin/govert ./cmd/govert
To convert a Markdown file to HTML using Govert, run the binary with the input and output file paths as arguments:
./bin/govert input.md output.html
If you don't specify an output path, the output will be written to "output.html" by default.
./bin/govert input.md
To convert a directory of Markdown files to HTML using Govert, run the binary with the input and output directory paths as arguments:
./bin/govert -d path/to/input-directory
You don't need to specify an output directory, the output will be written to "outputDir" by default.
To open live preview of the converted HTML file, run the binary with the input file path as argument:
./bin/govert -l input.md
Contributions are welcome! To contribute to Govert, follow these steps:
-
Fork this repository.
-
Create a new branch:
git checkout -b feature/branch-name
-
Make your changes and commit them:
git commit -m 'Add some feature'
-
Push to the main branch:
git push origin feature/branch-name
-
Create a new Pull Request.
This project is licensed under the MIT License.