Debian Codegraph @

tests/extensions/github_flavored.txt

raw
1 index 0000000..6e956a9
2
3 ```diff
4 --- /dev/null
5 +++ b/test/data/stripped_text/mike-30-lili
6 @@ -0,0 +1,27 @@
7 +Summary:
8 + drift_mod.py | 1 +
9 + 1 files changed, 1 insertions(+), 0 deletions(-)
10 +
11 +commit da4bfb04debdd994683740878d09988b2641513d
12 +Author: Mike Dirolf <[email protected]>
13 +Date: Tue Jan 17 13:42:28 2012 -0500
14 +
15 +```
16 +minor: just wanted to push something.
17 +```
18 +
19 +diff --git a/drift_mod.py b/drift_mod.py
20 +index 34dfba6..8a88a69 100644
21 +
22 +```
23 +--- a/drift_mod.py
24 ++++ b/drift_mod.py
25 +@@ -281,6 +281,7 @@ CONTEXT_DIFF_LINE_PATTERN = re.compile(r'^('
26 + '|\+ .*'
27 + '|- .*'
28 + ')$')
29 ++
30 + def wrap_context_diffs(message_text):
31 + return _wrap_diff(CONTEXT_DIFF_HEADER_PATTERN,
32 + CONTEXT_DIFF_LINE_PATTERN,
33 +```
34 ```
35
36 Test support for foo+bar lexer names.
37
38 ```html+jinja
39 <title>{% block title %}{% endblock %}</title>
40 <ul>
41 {% for user in users %}
42 <li><a href="{{ user.url }}">{{ user.username }}</a></li>
43 {% endfor %}
44 </ul>
45 ```