org.opoo.press.highlighter
接口 Highlighter

所有已知实现类:
SyntaxHighlighter

public interface Highlighter

Highlight code block processor.

作者:
Alex Lin

方法摘要
 boolean containsHighlightCodeBlock(String content)
          Determine the content contains highlight CodeBlock or not.
 String getHighlighterName()
          Return the Highlighter name, such as 'SyntaxHighlighter'.
 void highlight(StringBuilder out, List<String> lines, String meta)
           
 

方法详细信息

containsHighlightCodeBlock

boolean containsHighlightCodeBlock(String content)
Determine the content contains highlight CodeBlock or not.

参数:
content - the content string
返回:
is string contains highlight code block, return true

getHighlighterName

String getHighlighterName()
Return the Highlighter name, such as 'SyntaxHighlighter'.

返回:
the Highlighter name

highlight

void highlight(StringBuilder out,
               List<String> lines,
               String meta)


Copyright © 2013 Opoo.org. All Rights Reserved.