Skip to content

Instantly share code, notes, and snippets.

View ErwanLeroux's full-sized avatar

Erwan Leroux ErwanLeroux

  • Viveris Systèmes
  • Paris, France
View GitHub Profile
@ErwanLeroux
ErwanLeroux / gfm2html.php
Last active December 3, 2020 19:31 — forked from cobusc/gfm2html.php
Example script that will convert Github Flavoured Markdown text into HTML (using Github's API).
#!/usr/bin/env php
/*
Permalink : https://gist.github.com/ErwanLeroux/ae7a7083e16f31995b69
Forked from https://gist.github.com/cobusc/8707593/1cf6eb7b932890a8bcddf927c95091154bede377
*/
<?php
$RENDER_URL = "https://api.github.com/markdown";