--- /dev/null
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="UTF-8" />
+ <title>m.gh | A Pelican Blog</title>
+ <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Code+Pro:400,400i,600%7CSource+Sans+Pro:400,400i,600,600i" />
+ <link rel="stylesheet" href="static/m-dark.css" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <meta property="og:title" content="m.gh" />
+ <meta name="twitter:title" content="m.gh" />
+ <meta property="og:url" content="page.html" />
+ <meta name="twitter:url" content="page.html" />
+ <meta property="og:description" content="Profile link: @mosra Repository link: mosra/m.css Commit link: mosra/m.css@4d36222 Issue/PR link: mosra/magnum#123 Tree link: https://github.com/mosra/m.css/tree/next Tag link: https://github.com/mosra/magnum/releases/tag/snapshot-2015-05 File link: https://github.com/mosra/m.css/tree/master …" />
+ <meta name="twitter:description" content="Profile link: @mosra Repository link: mosra/m.css Commit link: mosra/m.css@4d36222 Issue/PR link: mosra/magnum#123 Tree link: https://github.com/mosra/m.css/tree/next Tag link: https://github.com/mosra/magnum/releases/tag/snapshot-2015-05 File link: https://github.com/mosra/m.css/tree/master …" />
+ <meta name="twitter:card" content="summary" />
+ <meta property="og:type" content="website" />
+</head>
+<body>
+<header><nav id="navigation">
+ <div class="m-container">
+ <div class="m-row">
+ <a href="./" id="m-navbar-brand" class="m-col-t-9 m-col-m-none m-left-m">A Pelican Blog</a>
+ </div>
+ </div>
+</nav></header>
+<main>
+<article>
+ <div class="m-container m-container-inflatable">
+ <div class="m-row">
+ <div class="m-col-l-10 m-push-l-1">
+ <h1>m.gh</h1>
+<!-- content -->
+<ul>
+<li>Profile link: <a href="https://github.com/mosra">@mosra</a></li>
+<li>Repository link: <a href="https://github.com/mosra/m.css">mosra/m.css</a></li>
+<li>Commit link: <a href="https://github.com/mosra/m.css/commit/4d362223f107cffd8731a0ea031f9353a0a2c7c4">mosra/m.css@4d36222</a></li>
+<li>Issue/PR link: <a href="https://github.com/mosra/magnum/issues/123">mosra/magnum#123</a></li>
+<li>Tree link: <a href="https://github.com/mosra/m.css/tree/next">https://github.com/mosra/m.css/tree/next</a></li>
+<li>Tag link: <a href="https://github.com/mosra/magnum/releases/tag/snapshot-2015-05">https://github.com/mosra/magnum/releases/tag/snapshot-2015-05</a></li>
+<li>File link: <a href="https://github.com/mosra/m.css/tree/master/css/m-dark.css">https://github.com/mosra/m.css/tree/master/css/m-dark.css</a></li>
+<li>Arbitrary link: <a href="https://github.com/mosra/magnum/graphs/contributors">https://github.com/mosra/magnum/graphs/contributors</a></li>
+<li><a href="https://github.com/getpelican/pelican">Link with custom title</a></li>
+</ul>
+<!-- /content -->
+ </div>
+ </div>
+ </div>
+</article>
+</main>
+</body>
+</html>
\ No newline at end of file
--- /dev/null
+m.gh
+####
+
+- Profile link: :gh:`mosra`
+- Repository link: :gh:`mosra/m.css`
+- Commit link: :gh:`mosra/m.css@4d362223f107cffd8731a0ea031f9353a0a2c7c4`
+- Issue/PR link: :gh:`mosra/magnum#123`
+- Tree link: :gh:`mosra/m.css$next`
+- Tag link: :gh:`mosra/magnum^snapshot-2015-05`
+- File link: :gh:`mosra/m.css$master/css/m-dark.css`
+- Arbitrary link: :gh:`mosra/magnum/graphs/contributors`
+- :gh:`Link with custom title <getpelican/pelican>`
--- /dev/null
+from m.test import PluginTestCase
+
+class Gh(PluginTestCase):
+ def __init__(self, *args, **kwargs):
+ super().__init__(__file__, '', *args, **kwargs)
+
+ def test(self):
+ self.run_pelican({
+ 'PLUGINS': ['m.htmlsanity', 'm.gh']
+ })
+
+ self.assertEqual(*self.actual_expected_contents('page.html'))