Package org.bsc.markdown
Interface MarkdownProcessor
-
public interface MarkdownProcessorMarkdown Processor interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()markdown processor identifier used to choose which procerror use at run-timeStringprocessMarkdown(Site siteModel, Site.Page pageModel, Optional<ConfluenceService.Model.Page> page, String content, Optional<String> pagePrefixToApply)
-
-
-
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 instancepageModel- - current processing Page Model instancepage- - current processing page instance. Valid only if we are updating content of existent pagecontent- - content to processpagePrefixToApply- - prefix to apply. Valid only if 'childrenTitlesPrefixed' parameter is true- Returns:
- processed (i.e. translated) content
- Throws:
IOException
-
-