Change to triple-backtick code fences.

Former-commit-id: 81d38ed0155734a72d98b2e16425635da907aa01
This commit is contained in:
John-David Dalton
2012-08-17 13:04:32 -07:00
parent b328972c4d
commit 15b14e12e2
5 changed files with 35 additions and 35 deletions

View File

@@ -140,7 +140,7 @@ class Entry {
preg_match('#\*\s*@example\s+([\s\S]*?)(?=\*\s\@[a-z]|\*/)#', $this->entry, $result);
if (count($result)) {
$result = trim(preg_replace('/(?:^|\n)\s*\* ?/', "\n", $result[1]));
$result = '~~~ ' . $this->lang . "\n" . $result . "\n~~~";
$result = '```' . $this->lang . "\n" . $result . "\n```";
}
return $result;
}