Removed wiki print statements
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
print "Hello"
|
||||
|
||||
'''
|
||||
WikiLink Extention for Python-Markdown
|
||||
======================================
|
||||
|
||||
@@ -26,7 +26,6 @@ class CircuitExtension(markdown.Extension):
|
||||
md.inlinePatterns.add(name, pattern, "<reference")
|
||||
|
||||
def extendMarkdown(self, md, md_globals):
|
||||
print "Here"
|
||||
self.add_inline(md, 'circuit', CircuitLink, r'^circuit:(?P<name>[a-zA-Z0-9]*)$')
|
||||
|
||||
class CircuitLink(markdown.inlinepatterns.Pattern):
|
||||
@@ -39,5 +38,4 @@ class CircuitLink(markdown.inlinepatterns.Pattern):
|
||||
|
||||
|
||||
def makeExtension(configs=None) :
|
||||
print "Here"
|
||||
return CircuitExtension(configs=configs)
|
||||
|
||||
@@ -1,7 +1,5 @@
|
||||
# Source: https://github.com/mayoff/python-markdown-mathjax
|
||||
|
||||
print "Hello"
|
||||
|
||||
import markdown
|
||||
|
||||
class MathJaxPattern(markdown.inlinepatterns.Pattern):
|
||||
|
||||
@@ -247,7 +247,6 @@ class Revision(models.Model):
|
||||
|
||||
# Create pre-parsed contents - no need to parse on-the-fly
|
||||
ext = WIKI_MARKDOWN_EXTENSIONS
|
||||
print "Waka", WIKI_MARKDOWN_EXTENSIONS
|
||||
ext += ["wikilinks(base_url=%s/)" % reverse('wiki_view', args=('',))]
|
||||
self.contents_parsed = markdown(self.contents,
|
||||
extensions=ext,
|
||||
|
||||
@@ -94,7 +94,6 @@ WIKI_MARKDOWN_EXTENSIONS = getattr(settings, 'SIMPLE_WIKI_MARKDOWN_EXTENSIONS',
|
||||
'circuit'
|
||||
])
|
||||
|
||||
print WIKI_MARKDOWN_EXTENSIONS
|
||||
|
||||
WIKI_IMAGE_EXTENSIONS = getattr(settings,
|
||||
'SIMPLE_WIKI_IMAGE_EXTENSIONS',
|
||||
|
||||
Reference in New Issue
Block a user