Show More
@@ -53,11 +53,11 b' class CommentPattern(Pattern):' | |||
|
53 | 53 | |
|
54 | 54 | |
|
55 | 55 | class NeboardMarkdown(markdown.Extension): |
|
56 | AUTOLINK_PATTERN = r'(http://\S+)' | |
|
57 | QUOTE_PATTERN = r'(>){1}(.+)' | |
|
56 | AUTOLINK_PATTERN = r'(https?://\S+)' | |
|
57 | QUOTE_PATTERN = r'^(>){1}(.+)' | |
|
58 | 58 | REFLINK_PATTERN = r'((>){2}(\d+))' |
|
59 | 59 | SPOILER_PATTERN = r'%%(.+)%%' |
|
60 | COMMENT_PATTERN = r'(//(.+))' | |
|
60 | COMMENT_PATTERN = r'^(//(.+))' | |
|
61 | 61 | |
|
62 | 62 | def extendMarkdown(self, md, md_globals): |
|
63 | 63 | autolink = AutolinkPattern(self.AUTOLINK_PATTERN, md) |
General Comments 0
You need to be logged in to leave comments.
Login now