Skip to content

manojbadam/markdown-covertor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Markdown convertor

Often times, we need to convert our docs on github readme to Confluence Wiki markup. This repo helps in converting it. This is still work in progress. Currently capable of converting headers, code blocks, bold, blockquotes, hyperlink messages. This needs to extend futher for Table, horizontal rule, images and Lists.

How to run this locally

go get [email protected]:manojbadam/markdown-covertor.git
cd $GOPATH/src/github.com/manojbadam/markdown-convertor
export FILE_PATH="<path/to/readme.md>"
go build
./markdown-covertor wiki -i /Users/badam/test/clone/gist/cilium-podcidr.md -o converted.md

How to run using docker

git clone [email protected]:manojbadam/markdown-covertor.git
cd markdown-convertor
docker build -t convertor .
docker run -it -v $PWD:/home convertor markdown-convertor wiki -i /home/sample.md
docker run -it -v $PWD:/home convertor markdown-convertor wiki -i /home/sample.md -o /home/output.wiki

Once the markdown is converted into output.wiki file, refer this page for how to insert the markdown

References

About

Converts Github Markdown to Confluence Wiki Markup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published