+ def _begin_note(self, line):
+ """Proccess note"""
+ try:
+ str_title = re.search(ur"^☆begin-note:(.*)$", line).group(1)
+ except AttributeError:
+ str_title = ""
+
+ html = """
+<div class="column" style="background:#F0F8FF;border:1px solid gray; font-size:85%%;padding:8px 8px 4px;margin-bottom: 1em;">
+"""
+ if len(str_title.strip()) > 0:
+ html = html + "<strong>%s</strong>" % (str_title)
+ print html
+
+ def _end_note(self, line):
+ print """
+</div>
+ """
+