feat: default markdown gh mode is markdown
parent
a442096100
commit
70025d6cd4
4
main.go
4
main.go
|
@ -89,9 +89,7 @@ func main() {
|
|||
return fmt.Errorf("os: failed to read file %s: %w", mdFilename, err)
|
||||
}
|
||||
|
||||
ghMarkdown, _, err := ghClient.Markdown(ctx, string(mdFileBytes), &github.MarkdownOptions{
|
||||
Mode: "markdown",
|
||||
})
|
||||
ghMarkdown, _, err := ghClient.Markdown(ctx, string(mdFileBytes), nil)
|
||||
if err != nil {
|
||||
return fmt.Errorf("github: failed to markdown: %w", err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue