code: def switch_to_rich_text(self):
          
          self.rich_help = True
          self.plain_text.hide()
          self.rich_text.show()
          self.rich_text_action.setChecked(True)
          self.show_source_action.setChecked(False)
docs: Switch to rich text mode