def _SetFont(self, font):
        wx.BeginBusyCursor()
        self.ignore_text_event = True
        try:
            self.frame.FindWindowById(self.text_id).SetFont(font)
            self.conf.font_face = font.GetFaceName()
            self.conf.font_size = font.GetPointSize()
            self.options_dialog.FindWindowById(self.font_id).SetLabel(
                "%s, %dpt" % (self.conf.font_face, self.conf.font_size))
        finally:
            self.ignore_text_event = False
            wx.EndBusyCursor()
combine the math and markdown together.
dataset/ETHPy150Open cmpilato/thotkeeper/lib/tk_main.py/ThotKeeper._SetFont--crossover with--dataset/ETHPy150Open realcr/freedomlayer_website/lib/filters.py/combine_math_mdown