πŸ›  md2confl is a CLI tool to convert the markdown text to confluence wiki format.
Branch: master
Clone or download
Latest commit 62ca09b Aug 2, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Update config.yml. Apr 22, 2018
.github Use tap release for release Aug 2, 2018
cmd Error message is better to be written in stderr May 29, 2018
confluence
utils/file Error messages in general should begin with a lowercase letter May 29, 2018
.gitignore Update .gitignore. Apr 7, 2018
Gopkg.lock Update dependencies Aug 1, 2018
Gopkg.toml
LICENSE Initial commit May 3, 2017
README.md Update README.md. Apr 22, 2018
main.go Initial commit May 3, 2017
usage.gif Update README.md. Apr 22, 2018

README.md

md2confl

CircleCI GitHub release MIT License

md2confl is a CLI tool to convert the markdown text to confluence wiki format.

Demo

Installation

Homebrew

$ brew tap kentaro-m/homebrew-md2confl
$ brew install md2confl

Golang

$ go get github.com/kentaro-m/md2confl

Usage

Output the confluence wiki text

Usage:
  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 main

import "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