The Markdown text to render in HTML. Markdown content must be 400 KB or less.
async
(params, auths) => {
}
//See the API docs here: https://developer.github.com/v3/markdown/#render-an-arbitrary-markdown-document
const data = {
context: params.context,
mode: params.mode,
text: params.text
}
const config = {
method: "post",
url: `https://api.github.com/markdown`,
headers: {
Authorization: `Bearer ${auths.github.oauth_access_token}`,
},
data,
}
return await require("@pipedreamhq/platform").axios(this, config)