~vovkkk/uberwriter/uberwriter_inline_preview

« back to all changes in this revision

Viewing changes to uberwriter/MarkupBuffer.py

  • Committer: vovkkk
  • Date: 2012-10-05 15:13:06 UTC
  • Revision ID: vovkkk@ya.ru-20121005151306-62xuoqkmhl20njch
show actual picture for formulae; show http code for links.

Show diffs side-by-side

added added

removed removed

Lines of Context:
114
114
        "HEADLINE": re.compile(r"^(#{1,6} [^\n]+)", re.MULTILINE),
115
115
        "MATH": re.compile(r"\${1,2}[^` ](.+?)[^`\\ ]\${1,2}"),
116
116
        "HORIZONTALRULE": re.compile(r"(\n\n[\*\-]{3,}\n)"),
117
 
        "TABLE": re.compile(r"^:table:\n(.+?)\n:endtable:", re.DOTALL)
 
117
        "TABLE": re.compile(r"^:table:\n(.+?)\n:endtable:", re.DOTALL),
 
118
        "LINK": re.compile(r"\(http(.+?)\)")
118
119
    }
119
120
 
120
121
    def markup_buffer(self, mode=0):