projects
/
pyblosxom-markdown2
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2185dce
)
Remove a seemingly unnecessary cb_preformat function.
author
Sean Hammond
<seanhammond@lavabit.com>
Tue, 28 Sep 2010 01:32:49 +0000
(
02:32
+0100)
committer
Sean Hammond
<seanhammond@lavabit.com>
Tue, 28 Sep 2010 01:32:49 +0000
(
02:32
+0100)
markdown-plugin.py
patch
|
blob
|
history
diff --git
a/markdown-plugin.py
b/markdown-plugin.py
index e8fa4155bba6f562103aec7445d58762275b26df..01fc0225dd1170b4032f7962d7d9e722b752760c 100644
(file)
--- a/
markdown-plugin.py
+++ b/
markdown-plugin.py
@@
-38,7
+38,6
@@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA.
"""
-PREFORMATTER_ID = 'markdown'
FILENAME_EXTENSIONS = ('txt','text','mkdn','markdown','md','mdown','markdn','mkd')
_version__ = '0.3'
__author__ = 'Benjamin Mako Hill <mako@atdot.cc>'
@@
-59,10
+58,6
@@
def cb_entryparser(args):
args[FILENAME_EXTENSION] = readfile
return args
-def cb_preformat(args):
- if args['parser'] == PREFORMATTER_ID:
- return parse(''.join(args['story']))
-
def parse(story):
html = md.convert(story)
md.reset()
Benjamin Mako Hill
||
Want to submit a patch?