import { BaseResource } from '@gitbeaker/requester-utils'; import { RequestHelper } from '../infrastructure'; import type { GitlabAPIResponse, ShowExpanded, Sudo } from '../infrastructure'; export interface MarkdownSchema extends Record { html: string; } export class Markdown extends BaseResource { render( text: string, options?: { gfm?: string; project?: string | number } & Sudo & ShowExpanded, ): Promise> { return RequestHelper.post()(this, 'markdown', { text, ...options }); } }