Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ mdgo Public

Markdown Go: Literate Programming for Go

License

ungerik/mdgo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Markdown Go: Literate Programming for Go

Get, install and run test:

go get -u github.com/ungerik/mdgo
cd $GOPATH/src/github.com/ungerik/mdgo
go install && mdgo
// mdgo called in this directory creates test.go from test.go.md

mdgo creates .go files from .go.md files by commenting out markdown and treating indented blocks as Go source code.

Arguments passed to mdgo will be parsed directly if they are files or traversed recursively if they are directories. Every .md.go file in a traversed directory will be parsed. If no arguments are passed to mdgo, the current directory will be traversed.

See test.go.md

About

Markdown Go: Literate Programming for Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages