this also works
This commit is contained in:
parent
6adb905ae1
commit
dda9a45cfc
@ -46,8 +46,10 @@ func main() {
|
|||||||
// binaries, remember their paths.
|
// binaries, remember their paths.
|
||||||
markdownPath, err := exec.LookPath("markdown");
|
markdownPath, err := exec.LookPath("markdown");
|
||||||
check(err)
|
check(err)
|
||||||
// pygmentizePath, err := exec.LookPath("pygmentize")
|
pygmentizePath, err := exec.LookPath("pygmentize")
|
||||||
// check(err)
|
check(err)
|
||||||
|
|
||||||
fmt.Print(pipedCmd(markdownPath, []string{}, "## wat"))
|
fmt.Print(pipedCmd(markdownPath, []string{}, "## wat"))
|
||||||
|
|
||||||
|
fmt.Print(pipedCmd(pygmentizePath, []string{"-l", "go", "-f", "html"}, "package main"))
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user