docs: def _generate_content(self):
          """Dumps content using JSON to send to CodeMirror"""
          # concat into a dict
          dic = self.config
          dic['mode'] = self.language
          if self.theme:
              dic['theme'] = self.theme
          # dumps with json
          return json.dumps(dic, indent=8, separators=(',', ': '))