diff options
| author | Jon Bergli Heier <snakebite@jvnv.net> | 2017-03-18 10:35:11 +0100 | 
|---|---|---|
| committer | Jon Bergli Heier <snakebite@jvnv.net> | 2017-03-18 10:35:11 +0100 | 
| commit | affcd2b148e974c02a5f60e14cccd16257a53c0d (patch) | |
| tree | c2e6c7b85ddccaf3cbe9d6ef34ccfc2d2165ba3e | |
| parent | 8340f81f6d7c89edf091dbd3ca807edfc8c919ab (diff) | |
Added markdown_extensions setting.
This allows arbitrary markdown extensions to be specified in the
settings.py file.
| -rw-r--r-- | pastepy.py | 2 | 
1 files changed, 1 insertions, 1 deletions
@@ -131,7 +131,7 @@ class Paste(object):  	def get_formatted(self, syntax, text):  		if syntax == 'md-render' and has_markdown: -			text = markdown.markdown(text) +			text = markdown.markdown(text, extensions = settings.markdown_extensions)  			lexername = 'Rendered markdown'  		else:  			try:  | 
