aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2012-07-24 08:49:35 -0700
committerWaylan Limberg <waylan@gmail.com>2012-07-24 08:49:35 -0700
commitd13c203052a8b22a92b9e096e03005bff40013d2 (patch)
tree30a830f176eb705bb610f0cf0b5c506e66cf7a88 /tests
parentc030dd99367d2eebd221d65fa3970400ed93a328 (diff)
parent0109eb4d606c73328d70d6da86b13549e8ae5222 (diff)
downloadmarkdown-d13c203052a8b22a92b9e096e03005bff40013d2.tar.gz
markdown-d13c203052a8b22a92b9e096e03005bff40013d2.tar.bz2
markdown-d13c203052a8b22a92b9e096e03005bff40013d2.zip
Merge pull request #124 from papaeye/lexer+lexer
Added support for <foo>+<bar> lexers of Pygments
Diffstat (limited to 'tests')
-rw-r--r--tests/extensions/github_flavored.html9
-rw-r--r--tests/extensions/github_flavored.txt11
2 files changed, 20 insertions, 0 deletions
diff --git a/tests/extensions/github_flavored.html b/tests/extensions/github_flavored.html
index 42577dc..063303a 100644
--- a/tests/extensions/github_flavored.html
+++ b/tests/extensions/github_flavored.html
@@ -29,4 +29,13 @@
+ return _wrap_diff(CONTEXT_DIFF_HEADER_PATTERN,
+ CONTEXT_DIFF_LINE_PATTERN,
+```
+</code></pre>
+
+<p>Test support for foo+bar lexer names.</p>
+<pre><code class="html+jinja">&lt;title&gt;{% block title %}{% endblock %}&lt;/title&gt;
+&lt;ul&gt;
+{% for user in users %}
+ &lt;li&gt;&lt;a href=&quot;{{ user.url }}&quot;&gt;{{ user.username }}&lt;/a&gt;&lt;/li&gt;
+{% endfor %}
+&lt;/ul&gt;
</code></pre> \ No newline at end of file
diff --git a/tests/extensions/github_flavored.txt b/tests/extensions/github_flavored.txt
index d0737bd..4f362b7 100644
--- a/tests/extensions/github_flavored.txt
+++ b/tests/extensions/github_flavored.txt
@@ -32,3 +32,14 @@ index 0000000..6e956a9
+ CONTEXT_DIFF_LINE_PATTERN,
+```
```
+
+Test support for foo+bar lexer names.
+
+```html+jinja
+<title>{% block title %}{% endblock %}</title>
+<ul>
+{% for user in users %}
+ <li><a href="{{ user.url }}">{{ user.username }}</a></li>
+{% endfor %}
+</ul>
+```