MCPcopy Index your code
hub / github.com/utterance/utterances / renderMarkdown

Function renderMarkdown

src/github.ts:257–261  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

255}
256
257export function renderMarkdown(text: string) {
258 const body = JSON.stringify({ text, mode: 'gfm', context: `${owner}/${repo}` });
259 return githubFetch(githubRequest('markdown', { method: 'POST', body }))
260 .then(response => response.text());
261}
262
263interface IssueSearchResponse {
264 total_count: number;

Callers 1

NewCommentComponentClass · 0.90

Calls 2

githubFetchFunction · 0.85
githubRequestFunction · 0.85

Tested by

no test coverage detected