From d63423a531094227b71014fe8141080c5316ece2 Mon Sep 17 00:00:00 2001 From: Sean Hammond Date: Tue, 28 Sep 2010 02:32:49 +0100 Subject: [PATCH 1/1] Remove a seemingly unnecessary cb_preformat function. --- markdown-plugin.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/markdown-plugin.py b/markdown-plugin.py index e8fa415..01fc022 100644 --- 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 ' @@ -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() -- 2.39.5