Skip to content

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

License

Notifications You must be signed in to change notification settings

kentaro-m/md2confl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6f004d8 Β· Sep 24, 2022

History

50 Commits
Aug 8, 2021
Sep 24, 2022
Apr 21, 2018
May 29, 2018
Aug 8, 2021
Aug 8, 2021
May 3, 2017
Jun 19, 2021
Jan 26, 2022
Jan 26, 2022
May 3, 2017
Apr 22, 2018

Repository files navigation

md2confl

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

$ GO111MODULE=on 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