public Markdown getMarkdown ( String text ) throws GitLabApiException { if ( ! isApiVersion ( ApiVersion . V4 ) ) { throw new GitLabApiException ( "Api version must be v4" ) ; } Form formData = new GitLabApiForm ( ) . withParam ( "text" , text , true ) ; Response response = post ( Response . Status . OK , formData . asMap ( ) , "markdown" ) ; return ( response . readEntity ( Markdown . class ) ) ; }
Render an arbitrary Markdown document .