code: def _es_text(settings, text_formating = {}):
          
          s = {k: settings[k] for k in (ConsoleWidget.SETTING_FLAG_PLAIN,)}
          s.update(text_formating)
          return s
docs: Extract text formating related subset of widget settings.