blob: cd2390c6bb698bad2c134b8cbceea472c86b5676 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
Source Hightlight Filter Test
=============================
Details of the filter can be found in
`./doc/source-highlight-filter.txt`.
[source,python]
---------------------------------------------------------------------
''' A multi-line
comment.'''
def sub_word(mo):
''' Single line comment.'''
word = mo.group('word') # Inline comment
if word in keywords[language]:
return quote + word + quote
else:
return word
---------------------------------------------------------------------
|