Skip to content

philgebhardt/mdcat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mdcat (Package)

This is a fork of samfoo/mdcat, for the purposes of wrapping mdcat's functionality into a package.

The following example would yeild the same result as invoking mdcat on a file containing # Hello World!.

import "github.com/philgebhardt/mdcat"

func main() {
  markdown_string := fmt.Sprintf("# %s\n", "Hello World!") 
  mdcat.Print(strings.NewReader(markdown_string))
}

About

Format markdown for the console.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Go 100.0%