mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
16 lines
337 B
Plaintext
16 lines
337 B
Plaintext
Code Filter Test
|
|
================
|
|
|
|
[python]
|
|
code~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
''' 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
|
|
code~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|