Small Go tool to convert Github markdown (plus HTML and Hugo shortcodes) to Gemini text files.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
947 B

1 year ago
# md2gmi
1 year ago
[![Go Report Card](https://goreportcard.com/badge/git.neveris.one/gryffyn/md2gmi)](https://goreportcard.com/report/git.neveris.one/gryffyn/md2gmi) [![Go Reference](https://pkg.go.dev/badge/git.neveris.one/gryffyn/md2gmi.svg)](https://pkg.go.dev/git.neveris.one/gryffyn/md2gmi) ![License](https://img.shields.io/badge/license-MIT--%E2%89%A01-informational?style=flat) [![Build Status](https://ci.neveris.one/api/badges/gryffyn/md2gmi/status.svg?ref=refs/heads/main)](https://ci.neveris.one/gryffyn/md2gmi)
Small Go tool to convert Github markdown (plus HTML and Hugo shortcodes) to Gemini text files.
## Installing
### From Source
Run `go get git.neveris.one/gryffyn/md2gmi`
The binary will be in `$GOPATH/bin`.
## Usage
Run `md2gmi -h` to show the built in help.
`md2gmi` has two positional arguments, the input markdown (usually `.md`) and the output Gemtext file (usually `.gmi`).
Basic usage is `md2gmi input.md output.gmi`.