/
usr
/
lib
/
python2.6
/
site-packages
/
markdown
/
extensions
/
/usr/lib/python2.6/site-packages/markdown/extensions
mkdir
upload
Name
Size
Mode
Actions
abbr.py
2899
0644
edit
dl
rm
abbr.pyc
4294
0644
edit
dl
rm
abbr.pyo
4294
0644
edit
dl
rm
codehilite.py
7673
0644
edit
dl
rm
codehilite.pyc
8129
0644
edit
dl
rm
codehilite.pyo
8129
0644
edit
dl
rm
def_list.py
3170
0644
edit
dl
rm
def_list.pyc
4047
0644
edit
dl
rm
def_list.pyo
4047
0644
edit
dl
rm
extra.py
1739
0644
edit
dl
rm
extra.pyc
2323
0644
edit
dl
rm
extra.pyo
2323
0644
edit
dl
rm
fenced_code.py
3423
0644
edit
dl
rm
fenced_code.pyc
4371
0644
edit
dl
rm
fenced_code.pyo
4371
0644
edit
dl
rm
footnotes.py
10055
0644
edit
dl
rm
footnotes.pyc
11433
0644
edit
dl
rm
footnotes.pyo
11433
0644
edit
dl
rm
headerid.py
6326
0644
edit
dl
rm
headerid.pyc
7470
0644
edit
dl
rm
headerid.pyo
7470
0644
edit
dl
rm
html_tidy.py
2071
0644
edit
dl
rm
html_tidy.pyc
2756
0644
edit
dl
rm
html_tidy.pyo
2756
0644
edit
dl
rm
imagelinks.py
3491
0644
edit
dl
rm
imagelinks.pyc
3311
0644
edit
dl
rm
imagelinks.pyo
3311
0644
edit
dl
rm
meta.py
2590
0644
edit
dl
rm
meta.pyc
3275
0644
edit
dl
rm
meta.pyo
3275
0644
edit
dl
rm
rss.py
3693
0644
edit
dl
rm
rss.pyc
4337
0644
edit
dl
rm
rss.pyo
4337
0644
edit
dl
rm
tables.py
3079
0644
edit
dl
rm
tables.pyc
3877
0644
edit
dl
rm
tables.pyo
3877
0644
edit
dl
rm
toc.py
5098
0644
edit
dl
rm
toc.pyc
4466
0644
edit
dl
rm
toc.pyo
4466
0644
edit
dl
rm
wikilinks.py
5292
0644
edit
dl
rm
wikilinks.pyc
6281
0644
edit
dl
rm
wikilinks.pyo
6281
0644
edit
dl
rm
__init__.py
0
0644
edit
dl
rm
__init__.pyc
151
0644
edit
dl
rm
__init__.pyo
151
0644
edit
dl
rm
Edit:
/usr/lib/python2.6/site-packages/markdown/extensions/extra.py
(1739B)
""" Python-Markdown Extra Extension =============================== A compilation of various Python-Markdown extensions that imitates [PHP Markdown Extra](http://michelf.com/projects/php-markdown/extra/). Note that each of the individual extensions still need to be available on your PYTHONPATH. This extension simply wraps them all up as a convenience so that only one extension needs to be listed when initiating Markdown. See the documentation for each individual extension for specifics about that extension. In the event that one or more of the supported extensions are not available for import, Markdown will issue a warning and simply continue without that extension. There may be additional extensions that are distributed with Python-Markdown that are not included here in Extra. Those extensions are not part of PHP Markdown Extra, and therefore, not part of Python-Markdown Extra. If you really would like Extra to include additional extensions, we suggest creating your own clone of Extra under a differant name. You could also edit the `extensions` global variable defined below, but be aware that such changes may be lost when you upgrade to any future version of Python-Markdown. """ import markdown extensions = ['fenced_code', 'footnotes', 'headerid', 'def_list', 'tables', 'abbr', ] class ExtraExtension(markdown.Extension): """ Add various extensions to Markdown class.""" def extendMarkdown(self, md, md_globals): """ Register extension instances. """ md.registerExtensions(extensions, self.config) def makeExtension(configs={}): return ExtraExtension(configs=dict(configs))
Save
cmd:
run