Interface MarkdownProcessor


  • public interface MarkdownProcessor
    Markdown Processor interface
    • Method Detail

      • getName

        String getName()
        markdown processor identifier used to choose which procerror use at run-time
        Returns:
        identifier
      • processMarkdown

        String processMarkdown​(Site siteModel,
                               Site.Page pageModel,
                               Optional<ConfluenceService.Model.Page> page,
                               String content,
                               Optional<String> pagePrefixToApply)
                        throws IOException
        Parameters:
        siteModel - - Site model instance
        pageModel - - current processing Page Model instance
        page - - current processing page instance. Valid only if we are updating content of existent page
        content - - content to process
        pagePrefixToApply - - prefix to apply. Valid only if 'childrenTitlesPrefixed' parameter is true
        Returns:
        processed (i.e. translated) content
        Throws:
        IOException