Skip to content

Instantly share code, notes, and snippets.

@MichaelPaulukonis
Last active December 21, 2015 20:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MichaelPaulukonis/6361091 to your computer and use it in GitHub Desktop.
Save MichaelPaulukonis/6361091 to your computer and use it in GitHub Desktop.
this is a test gist
<?php
Markup('gist', 'inline',
'/\\(:gist(\\s+.*?)?:\\)/ei',
"IncludeGist(PSS('$1 '))");
function IncludeGist($arg) {
$gist= sprintf('<code data-gist-id="%s"></code>', $arg);
return $gist;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment