https://github.com/abdealijaroli/govert
Markdown to HTML converter in Go with concurrent batch conversion and live preview.
https://github.com/abdealijaroli/govert
batch-conversion channels go golang goroutines markdown
Last synced: 3 months ago
JSON representation
Markdown to HTML converter in Go with concurrent batch conversion and live preview.
- Host: GitHub
- URL: https://github.com/abdealijaroli/govert
- Owner: abdealijaroli
- Created: 2024-02-04T04:21:29.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-10T08:04:47.000Z (over 1 year ago)
- Last Synced: 2025-01-12T00:15:23.144Z (5 months ago)
- Topics: batch-conversion, channels, go, golang, goroutines, markdown
- Language: Go
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Govert
Govert is a Command Line Interface (CLI) application for converting Markdown to HTML with Concurrent Batch Conversion and Live Preview.
## Installation
To use Govert, follow these steps:
1. Clone the repository to your local machine:
```bash
git clone https://github.com/abdealijaroli/govert.git
```2. Navigate to the project directory:
```bash
cd govert
```3. Build the binary:
```bash
go build -o bin/govert ./cmd/govert
```## Usage
To convert a Markdown file to HTML using Govert, run the binary with the input and output file paths as arguments:
```bash
./bin/govert input.md output.html
```If you don't specify an output path, the output will be written to "output.html" by default.
```bash
./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:
```bash
./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:
```bash
./bin/govert -l input.md
```## Contributing
Contributions are welcome! To contribute to Govert, follow these steps:
1. Fork this repository.
2. Create a new branch:
```bash
git checkout -b feature/branch-name
```3. Make your changes and commit them:
```bash
git commit -m 'Add some feature'
```4. Push to the main branch:
```bash
git push origin feature/branch-name
```
5. Create a new Pull Request.## License
This project is licensed under the MIT License.