projects
/
pyblosxom-markdown2
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bump the version number.
[pyblosxom-markdown2]
/
markdown-plugin.py
diff --git
a/markdown-plugin.py
b/markdown-plugin.py
index b96f0f097df2e3d05c27dfd28e55274155b35695..d30e85b58706b9b6989b647ccaa290f8883bfae2 100644
(file)
--- a/
markdown-plugin.py
+++ b/
markdown-plugin.py
@@
-1,25
+1,26
@@
#!/usr/bin/env python
"""
#!/usr/bin/env python
"""
-markdown-plugin.py -- A Python
-
Markdown v2.x plugin for PyBlosxom.
+markdown-plugin.py -- A Python
Markdown v2.x plugin for PyBlosxom.
-This plugin requires Python
-
Markdown v2.x, which you can download from:
+This plugin requires Python
Markdown v2.x, which you can download from:
http://www.freewisdom.org/projects/python-markdown/
http://www.freewisdom.org/projects/python-markdown/
-Extract python-markdown into your pyblosxom plugins dir alongside this
-plugin. Your plugins dir should look like this:
+Extract the 'markdown' directory from the Python Markdown tarball (the
+directory containing __init__.py, not the Markdown-2.x.y directory) into your
+pyblosxom plugins dir alongside this plugin. Your plugins dir should look like
+this:
plugins/ <-- your pyblosxom plugins dir
markdown-plugin.py <-- this file
plugins/ <-- your pyblosxom plugins dir
markdown-plugin.py <-- this file
- markdown.py <-- the python-markdown command line script
- markdown/ <-- directory containing python-markdown's files
+ markdown/ <-- the Python Markdown module
... <-- (any other pyblosxom plugins)
... <-- (any other pyblosxom plugins)
-Now any posts with filenames ending in
`.mkdn` will be passed through
-python-markdown.
+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
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
@@
-39,7
+40,7
@@
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>'
Benjamin Mako Hill
||
Want to submit a patch?