markdown.md

March 23, 2017 ยท View on GitHub

Markdown API

Back to the navigation

Render an arbitrary Markdown document

$gitignoreTemplates = $client->api('markdown')->render('Hello world github/linguist#1 **cool**, and #1!', 'markdown');

Render a Markdown document in raw mode

$gitignore = $client->api('markdown')->renderRaw('path/to/file');

Contents

  1. 1Markdown API
  2. 1.1Render an arbitrary Markdown document
  3. 1.2Render a Markdown document in raw mode