Skip to content

Commit 7f91fae

Browse files
committed
Fill in a couple of default parameter values
1 parent 651b950 commit 7f91fae

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

content/v3/markdown.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ title: Markdown Rendering | GitHub API
1616
Name | Type | Description | Default
1717
----|------|--------------|---------
1818
`text`|`string` | **Required**.The Markdown text to render
19-
`mode`|`string` | The rendering mode. Can be either:<br/>* `markdown` to render a document as plain Markdown, just like README files are rendered. <br/>* `gfm` to render a document as user-content, _e.g._ like user comments or issues are rendered. In GFM mode, hard line breaks are always taken into account, and issue and user mentions are linked accordingly.|
19+
`mode`|`string` | The rendering mode. Can be either:<br/>* `markdown` to render a document as plain Markdown, just like README files are rendered. <br/>* `gfm` to render a document as user-content, _e.g._ like user comments or issues are rendered. In GFM mode, hard line breaks are always taken into account, and issue and user mentions are linked accordingly.|`markdown`
2020
`context`|`string` | The repository context. Only taken into account when rendering as `gfm`|
2121

2222
#### Example

content/v3/repos/contents.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ to make a second `GET` request.
248248

249249
Name | Type | Description | Default
250250
-----|------|-------------|---------
251-
`archive_format`|`string` | Can be either `tarball` or `zipball`|
251+
`archive_format`|`string` | Can be either `tarball` or `zipball`|`tarball`
252252
`ref`| `string` | A valid Git reference.|The repository’s default branch (usually `master`)
253253

254254

0 commit comments

Comments
 (0)