code: public void setTableOfContents(Placement placement) {
          this.attributes.put(TOC, toAsciidoctorFlag(true));
          this.attributes.put(TOC_POSITION, placement.getPosition());
      }
docs: Sets if a table of contents should be rendered or not.
  
  @param placement
  position of toc.