projects
/
pyblosxom-markdown2
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't import the re module, it isn't used.
[pyblosxom-markdown2]
/
markdown-plugin.py
diff --git
a/markdown-plugin.py
b/markdown-plugin.py
index ed01d66aa277089c02b722fe6c7a0dfc10bdb361..81d022b77ff5cb82c4c5ca41328f05ca4921616b 100644
(file)
--- a/
markdown-plugin.py
+++ b/
markdown-plugin.py
@@
-20,7
+20,7
@@
Now any posts with filenames ending in one of the FILENAME_EXTENSIONS defined
below will be passed through python-markdown.
Copyright (C) Benjamin Mako Hill, 2005
below will be passed through python-markdown.
Copyright (C) Benjamin Mako Hill, 2005
-Updated for
python-m
arkdown 2 by seanh 2009
+Updated for
Python M
arkdown 2 by seanh 2009
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-40,11
+40,11
@@
USA.
"""
PREFORMATTER_ID = 'markdown'
FILENAME_EXTENSIONS = ('txt','text','mkdn','markdown','md','mdown','markdn','mkd')
"""
PREFORMATTER_ID = 'markdown'
FILENAME_EXTENSIONS = ('txt','text','mkdn','markdown','md','mdown','markdn','mkd')
-_version__ = '0.
2
'
+_version__ = '0.
3
'
__author__ = 'Benjamin Mako Hill <mako@atdot.cc>'
__author__ = 'seanh <snhmnd@gmail.com>'
__author__ = 'Benjamin Mako Hill <mako@atdot.cc>'
__author__ = 'seanh <snhmnd@gmail.com>'
-import
re,
codecs
+import codecs
import markdown
from Pyblosxom import tools
import markdown
from Pyblosxom import tools
Benjamin Mako Hill
||
Want to submit a patch?