Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kentaro-m/md2confl
🛠md2confl is a CLI tool to convert the markdown text to confluence wiki format.
https://github.com/kentaro-m/md2confl
blackfriday cli command-line-tool confluence golang markdown my-portfolio
Last synced: 17 days ago
JSON representation
🛠md2confl is a CLI tool to convert the markdown text to confluence wiki format.
- Host: GitHub
- URL: https://github.com/kentaro-m/md2confl
- Owner: kentaro-m
- License: mit
- Created: 2017-05-04T12:45:20.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-09-24T05:23:08.000Z (about 2 years ago)
- Last Synced: 2024-10-10T21:19:02.965Z (about 1 month ago)
- Topics: blackfriday, cli, command-line-tool, confluence, golang, markdown, my-portfolio
- Language: Go
- Homepage:
- Size: 2.36 MB
- Stars: 78
- Watchers: 3
- Forks: 13
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# md2confl
[![GitHub release](https://img.shields.io/github/release/kentaro-m/md2confl.svg)](https://github.com/kentaro-m/md2confl/releases)
[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://github.com/kentaro-m/md2confl/blob/master/LICENSE)md2confl is a CLI tool to convert the markdown text to confluence wiki format.
## Demo
![](./usage.gif)## Installation
### Homebrew
```
$ brew tap kentaro-m/homebrew-md2confl
$ brew install md2confl
```### Golang
```
$ GO111MODULE=on go get github.com/kentaro-m/md2confl
```## Usage
```
Output the confluence wiki textUsage:
md2confl [file path] [flags]Flags:
-h, --help Output usage information
-v, --version Output the version number
```## Example
### Output to the stdout
```
$ md2confl ~/sample.md
h1. Hello World{code:language=go}
package mainimport "fmt"
func main() {
fmt.Println("Hello World")
}
{code}
```### Output to the file
```
$ md2confl ~/sample.md > foo.txt
```### Copy to clipboard
```
$ md2confl ~/sample.md | pbcopy
```### Input from stdin
```
$ cat hoge.txt | md2confl
```## License
MIT