import { BaseResource } from '@gitbeaker/requester-utils' ; import { RequestHelper , Sudo } from '../infrastructure' ; export interface MarkdownSchema extends Record < string , unknown > { html : string ; } export class Markdown < C extends boolean = false > extends BaseResource < C > { render ( text , options ? ) { return RequestHelper . post < MarkdownSchema > ( ) ( this , 'markdown' , { text , ... options } ) ; } }