comparison MoinMoin/converter/markdown_in.py @ 2568:44a132511e24

Add popular extensions to markdown parser (markdown_in.py)
author RogerHaase <haaserd@gmail.com>
date Sat, 08 Mar 2014 07:50:19 -0700
parents 791bdedb0c20
children 92a9c6ef1ec7
comparison
equal deleted inserted replaced
2567:81373904efeb 2568:44a132511e24
356 return new 356 return new
357 357
358 # }}} 358 # }}}
359 359
360 def __init__(self): 360 def __init__(self):
361 self.markdown = Markdown() 361 self.markdown = Markdown(extensions=['extra', 'toc', ])
362 362
363 @classmethod 363 @classmethod
364 def _factory(cls, input, output, **kw): 364 def _factory(cls, input, output, **kw):
365 return cls() 365 return cls()
366 366