code: public void parseMessageML(String message, String entityJson, String version) throws InvalidInputException, IOException,
        ProcessingException {
  
      this.messageML = messageMLParser.parse(message, entityJson, version);
      this.entityJson = messageMLParser.getEntityJson();
      this.markdownRenderer = new MarkdownRenderer(messageML.asMarkdown());
    }
docs: Parse the text contents of the message and optionally EntityJSON into a MessageMLV2 message. Expands
  Freemarker templates and generates document tree structures for serialization into output formats with the
  respective get() methods.
  @param message string containing a MessageMLV2 message with optional Freemarker templates
  @param entityJson string containing EntityJSON data
  @param version string containing the version of the message format
  @throws InvalidInputException thrown on invalid MessageMLV2 input
  @throws ProcessingException thrown on errors generating the document tree
  @throws IOException thrown on invalid EntityJSON input