code: def write_table(self):
          
  
          with self._logger:
              self._verify_property()
              self.__write_chapter()
              self._write_table()
              if self.is_write_null_line_after_table:
                  self.write_null_line()
docs: |write_table| with Markdown table format.
  
          :raises pytablewriter.EmptyHeaderError: If the |headers| is empty.
          :Example:
              :ref:`example-markdown-table-writer`
  
          .. note::
              - |None| values are written as an empty string
              - Vertical bar characters (``'|'``) in table items are escaped