GenMarkdown creates markdown output.
(cmd *cobra.Command, w io.Writer)
| 50 | |
| 51 | // GenMarkdown creates markdown output. |
| 52 | func GenMarkdown(cmd *cobra.Command, w io.Writer) error { |
| 53 | return GenMarkdownCustom(cmd, w, func(s string) string { return s }) |
| 54 | } |
| 55 | |
| 56 | // GenMarkdownCustom creates custom markdown output. |
| 57 | func GenMarkdownCustom(cmd *cobra.Command, w io.Writer, linkHandler func(string) string) error { |