|
|
@ -4,9 +4,11 @@ import ( |
|
|
"fmt" |
|
|
"fmt" |
|
|
"io/ioutil" |
|
|
"io/ioutil" |
|
|
"os" |
|
|
"os" |
|
|
|
|
|
"strings" |
|
|
|
|
|
|
|
|
"github.com/a8m/mark" |
|
|
"github.com/a8m/mark" |
|
|
docopt "github.com/docopt/docopt-go" |
|
|
docopt "github.com/docopt/docopt-go" |
|
|
|
|
|
"golang.org/x/net/html" |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
func main() { |
|
|
func main() { |
|
|
@ -25,7 +27,7 @@ func main() { |
|
|
panic(err) |
|
|
panic(err) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
mark.Render(string(bs)) |
|
|
html.Parse(strings.NewReader(mark.Render(string(bs)))) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
func getArgs() map[string]interface{} { |
|
|
func getArgs() map[string]interface{} { |
|
|
|