Show More
@@ -45,10 +45,12 b' class NeboardMarkdown(markdown.Extension' | |||||
45 | reflink = ReflinkPattern(self.REFLINK_PATTERN, md) |
|
45 | reflink = ReflinkPattern(self.REFLINK_PATTERN, md) | |
46 |
|
46 | |||
47 | md.inlinePatterns[u'autolink_ext'] = autolink |
|
47 | md.inlinePatterns[u'autolink_ext'] = autolink | |
48 |
md.inlinePatterns |
|
48 | md.inlinePatterns.add(u'reflink', reflink, '<entity') | |
49 |
md.inlinePatterns |
|
49 | md.inlinePatterns.add(u'quote', quote, '<entity') | |
|
50 | # md.inlinePatterns[u'reflink'] = reflink | |||
|
51 | # md.inlinePatterns[u'quote'] = quote | |||
50 |
|
52 | |||
51 | del(md.inlinePatterns[u'entity']) |
|
53 | # del(md.inlinePatterns[u'entity']) | |
52 |
|
54 | |||
53 |
|
55 | |||
54 | def makeExtension(configs=None): |
|
56 | def makeExtension(configs=None): |
General Comments 0
You need to be logged in to leave comments.
Login now